Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Undo with ParmView
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00056770
Message ID:
00056805
Vues:
36
>Duhh - OK - I’m new to Paramitized Views
>What’s wrong w/ this code?
>IF CURSORSETPROP('BUFFERING', 3, 'child')
>. wait window nowait "Changes to record Ignored!"
>. Select child
>. = TABLEREVERT(.T.)&& Discard all RECORD changes
>. DO ControlsDisabled
>. THISFORM.txtSearch.setfocus
>. Select parmview
>. =requery()
>. Thisform.Refresh
>ENDIF
>My Accept Routine seems OK - But not this Undo!
Edgar,
Where is this code called from? It looks like perhaps the setfocus call is causing an update to the cursor, I would first try moving the setfocus call to before the TableRevert() and see if that fixes it.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform