Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Table WorkSpec Contains Uncommited Changes
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00725062
Message ID:
00725072
Views:
10
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
Map
View

Click here to load this message in the networking platform