>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.