Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Empty cursoradapter cursor
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00866479
Message ID:
00866530
Vues:
24
>So far so good... :)
>
>Only way I could get the VFP CA to work is adding PUBLIC cCust_id to the main program before calling the main form.
>
>PUBLIC cCust_Id
>m.cEmp_Id = CHR(27)+"###########"+CHR(27)
>Do Form MAIN1
>Read Events
>
>now it's working, even the above doesn't seem very nice.
>
>I'v noticed that dataenvironment.cname.cursorrefresh() does the both REQUERY() and TABLEUPDATE(). Do you know if the usage of cursorrefresh() is a must or can you use REQUERY() and TABLEUPDATE() too?

Hmmm, I can't imagine the CursorRefresh doing both a REQUERY and TABLEUPDATE. I would look in the BeforeCursorRefresh method to see if the TABLEUPDATE is done there. I would stick with the CursorRefresh instead of Requery because CursorRefresh is functionally the same as a REQUERY on a view, it just that it is designed especially for the CA.
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform