General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
>> select mycursor
>> append blank -> error cannot update cursor !!
>> What to do !! i need to insert a few rows
OK, so this is a good one! Foxpro created cursors as read only, so you need to open for read/write, you have to be carefull coz if you close it it gets deleted (thats the idea of cursors). Use the following
SELECT myCursor
lcDbfName=DBF()
SELECT 0
USE (lcDbfName) AGAIN ALIAS MyCopy
Append blank -> etc.....
USE
SELECT myCursor
Hope this helps
Gary
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only