Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Undo with ParmView
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00056770
Message ID:
00056903
Views:
27
>>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.

It Works! I can use a TableRevert on the Param View and Do Not
have-to access the underlying Tables to Undo. Thanks Jim.
If that concept holds for ACCEPT CHANGES, I need to revisit TableUpdate.
Ed B
Edgar L. Bolton, B.S. B.B.A.
Previous
Reply
Map
View

Click here to load this message in the networking platform