Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Handy COPY FROM functionality?
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00820753
Message ID:
00820764
Views:
13
>I am writing a utility to import Quickbooks customer and charge data. The IIF file (tab-delimited ascii) contains a header record which lists the field names. I need to support multiple versions of Quickbooks and I am not sure if the exported ascii files are identical in each version. However, I do believe that the field names will remain consistent (at least the basic ones I need).
>
>What I would like to do is to create a cursor with the field names matching the field list provided in the ascii file. Then I would be able to simply reference the fields I want, and I don't need to worry about extra fields or varying field orders.
>
>I know how to create the cursor programatically by extracting the header record, but am I missing something? Does foxpro already have a function to handle this?
>
>Just curious?
>
>Thanks,
>
>David

You can append from, but you need the source cursor already. There is a builder/wizard to do an append without the cursor, but I am not sure if you can ship this for runtime use.

BOb
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform