General information
Category:
Coding, syntax & commands
Hi Tim
your tablerevert() command seems to be commented, is your code exactly as what you have send, or it's only a copy/paste problems?
anyway, why do you switch between buffering?
=TABLEREVERT(.T.,"workSpec")
zap in "workSpec"
if !tableupdate(.t.,.t.,"workSpec")
=messagebox("not zapped!")
else
.....
.....
endif
Franco
>In my App I have a cursor that I populate when the form reloads
>I execute code like:
>
>SELECT WorkSpec
>***Commands all must be here or you get uncommited changes problem (TJM)TABLEREVERT(.T.,"workSpec")
>=CURSORSETPROP("Buffering", 1)
>ZAP
>=CURSORSETPROP("Buffering", 5)
>
>Then I commence to repopulate the cursor.
>
>At the Line CURSORSETPROP I'm getting the "WorkSpec" Contains Uncommited Changes I can't figure out why since I'm TABLEREVERTING First. It's almost like TABLEREVERT is not working... I also tried TABLEREVERT(.T.) and TABLEUPDATE(.T.)
>
>Can anyone guess how to get rid of this error?
>
>BR
>Tim
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only