Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with cursor readwrite
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Problem with cursor readwrite
Divers
Thread ID:
00777208
Message ID:
00777208
Vues:
52
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform