Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with cursor readwrite
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Problem with cursor readwrite
Miscellaneous
Thread ID:
00777208
Message ID:
00777208
Views:
53
I am at a client right now and this need to work before I leave. Please let me gooooooooo....

I have a form with a grid that I fill with a cursor READWRITE.
1) SELECT .... INTO CURSOR cur_ww READWRITE
2) THISFORM.grid.recordsource = "cur_ww"
3) input works perfectly
Now I try to save

SELECT cur_ww
GO TOP
DO WHILE !EOF()
Save
SELECT cur_ww
skip
enddo

If I put a BROWSE BEFORE MY GO TOP, everything works (I see my inputed records and I save them ok). BUT WITHOUT THE BROWSE, FOX8 THINK THAT THERE ARE NO RECORD. IT GOES DIRECTLY AT EOF.

ANY EXPLANATION ? DO i have to do a tableupdate or something ?

Thanks
Eric Crespin
Consultant
PC PLUS Software Inc.
www.pcplus.ca
Next
Reply
Map
View

Click here to load this message in the networking platform