Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can you add records to a cursor?
Message
From
10/08/1999 14:32:19
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00252128
Message ID:
00252131
Views:
13
>I have a cursor created from a SQL.
>
>While I can append blank records to the cursor, I can not enter data to the new records.
>
>Is this the expected behavior? I do not want to save the cursor, just add a record to the data, print it and then destroy it.
>
>Thanks.

A cursor created by SELECT - SQL is read-only. However, you can issue a USE...AGAIN on the cursor; this renders it read-write, where you can perform nearly all table-related operations.

There's an article in the Knowledgebase FAQs on this.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform