Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BatchUpdateCount,TableUpdate,REQUERY cause C0000005
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Database:
Jet/Access Engine
Miscellaneous
Thread ID:
01041087
Message ID:
01041590
Views:
24
Hi Sergey,

Yes, You are right.
But -1 is magic value for BatchUpdateCount :-) (CURSORSETPROP() and DBSETPROP())



MartinJ

>Hi Martin,
>
>I got C5 on TABLEUPDATE(1,.T.).
>
>>SYMPTOMS
>>After calling REQUERY() on remote view, VFP cause C0000005
>>
>>CAUSE
>>BatchUpdateCount must be -1[0xFFFFFFFF], Buffering must be 5 and TABLEUPDATE() parameters are 1,.T.
>>
>>Steps to Reproduce Problem:
>>1) open any remote view
>>2) CURSORSETPROP("BatchUpdateCount",-1)
>>3) CURSORSETPROP("Buffering",5)
>>4) REPLACE anycharfield WITH ALLT(anycharfield)+ALLT(anycharfield) ALL
>>5) ?TABLEUPDATE(1,.T.) && return .T.
>>6) REQUERY() && cause C0000005
>>
>>MartinJ
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Previous
Reply
Map
View

Click here to load this message in the networking platform