Re: im****t a CSV file w/ First row of data as field names by program not interactive way
by "Carl" <carlogawa@[EMAIL PROTECTED]
>
Jul 24, 2008 at 08:28 AM
Thanks. found: setSourceFieldNamesFromFirst ( const namesFirst Logical)
Copyright 1996 - 2004. Corel Cor****ation. All rights reserved.
"Tony McGuire" <png.paradoxcommunity@[EMAIL PROTECTED]
> wrote in message
news:488886ef$1@[EMAIL PROTECTED]
|
| Using Paradox for Windows (v9), check out the datatransfer() method,
| amd its functions & parameters.
|
| One parameter is exactly what you are asking for, and a native
| methodology within Paradox for doing what you want.
|
|
|
| setSourceFieldNamesFromFirst method
|
| Sets field names using the data in the first row of input.
|
| Syntax
|
| setSourceFieldNamesFromFirst ( const namesFirst Logical)
|
| Description
|
| setSourceFieldNamesFromFirst sets field names using the first row of
| the input data. Setting namesFirst to True always skips the first row.
| However, the field names only apply to newly created tables that do
| not already have field names. setSourceFieldNamesFromFirst only
| applies when the source is a spreadsheet or a delimited text file.
|
|
|
| ------------------------------
| Tony McGuire
|
|