Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding data to a table from a cursor
Message
De
06/10/1997 15:21:47
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00051665
Message ID:
00053440
Vues:
35
Um, gee, thanks for clarifying the gentleman's question. :-!

>1) The table doesn't have to exist, but the cursor can't be simply a

His original question was:
>Could someone please tell me how to add data to a table from a
>cursor?
So, yeah, _adding _data_to_a_table_ says to me in my *simple* understanding that if he doesn't have the table, then COPY TO or SELECT...INTO TABLE would be appropriate. If he did have the table, then those methods would *really* not work well, and an APPEND FROM would be a better start.

>2) It doesn't have to match exactly, only for the fields that you want
>to append.
Uh, yeah. That was the point of my question!

>3) That would require going through each row in the cursor, checking
>datestamps, etc. and can't be done from a simple APPEND (but it is
>possible).
Uh, yeah. Ditto.


>4) APPEND FROM cCursorAlias
>won't work because the APPEND FROM looks for a real filename, rather
>than an alias name.
Yup. You got me there--drat on that psuedo code confusion.

Please forgive me if I've misunderstood your tone, otherwise...Oh well! :-)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform