Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Handy COPY FROM functionality?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00820753
Message ID:
00820764
Vues:
12
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform