Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding data to a table from a cursor
Message
From
29/09/1997 19:44:05
 
 
To
25/09/1997 16:40:53
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00051665
Message ID:
00052305
Views:
33
1) The table doesn't have to exist, but the cursor can't be simply a filter on a larger table (use either CREATE CURSOR or SELECT .. NOFILTER to guarantee this). 2) It doesn't have to match exactly, only for the fields that you want to append. 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). 4) APPEND FROM cCursorAlias won't work because the APPEND FROM looks for a real filename, rather than an alias name. APPEND FROM &cCursorDBF works. >Does the table exist? >Does it have the same structure as the cursor? >Do you want to synchronize information between them? Or replace >records? > >How about: > >SELECT myTable >APPEND FROM myCursor > >>Could someone please tell me how to add data to a table from a >cursor?
Paul Russell
EMail: prussell@fox.nstn.ca
Phone: (902) 499-5043
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform