Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding data to a table from a cursor
Message
From
06/10/1997 15:21:47
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00051665
Message ID:
00053440
Views:
30
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! :-)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform