Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Record Pointer Moving after REQUERY
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00290073
Message ID:
00290200
Vues:
33
Colin,

The values were assigned properly and I was looking at the correct work area and I did do a refresh. The problem with REQUERY() is that it requeries all records and not just the one you are sitting on. It throws out the current cursor and builds a new one.

I am looking at using a parameterized view and then getting the Key ID value from the Stored Procedure to use to Requery(). This way I have only One View. Then when I got to a list tab to view all Records I can then just issue:

cID = ''
SELECT fields WHERE ID = ?cID

Then when I leave the Grid tab I can then do:

cID = View.ID
Requery()
Refresh()


I think this might work.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform