Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with cursor readwrite
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00777208
Message ID:
00777214
Vues:
8
Hi Eric,

First, try to move focus of the grid so it wouldn't interfere. Second, you may consider using SCAN ENDSCAN instead of DO WHILE().


>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
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform