Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Yet More Grid Problems...
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00131116
Message ID:
00131921
Views:
19
>
>
>Ed,
>
>You sent this reply to grid refresh problem and I thought it was a great suggestion to a problem I am also experiencing. Trouble is when I attempt to ZAP the cursor, I get the message that the table must be "opened exclusively".
>
>I created the Cursor by setting the RecordSource property of my grid to a SQL statement like "SELECT * FROM myTable INTO CURSOR myCursor". How do I open myCursor exclusively?
>
>Thanks,
>
>Mat Kennedy

You should do following:
1. Use NOFILTER clause in SELECT-SQL
Select ... INTO CURSOR mycursor NOFILTER
2. Reopen this cursor in another area and close initial one
cDbf=dbf()
select 0
use (cDbf) again alias readwritecursor
select mycursor
use
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform