Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Aerror() returns unexpected results
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00080556
Message ID:
00080985
Views:
26
>>I am using aerror to handle errors when issueing tableupdate().
>>Whe I encounter 'record in use by another' error the aerror() returns error # 109. In the VFP manual it shows #1700 should be returned by aerror() for record locking problem. Can anyone tell me which error #
>>I should be checking for in this situation (109,108) or (1700)?
>>
>>Thanks for any help.
>>
>>John
>
>Hello John!
>
>I met this dilemma, too. I didnot find any doc about error #1700.
>
>BB

Hi Bela,

Apparently there is not an error #1700 even though the VFP documentation suggests that there is one. I am trapping the record locking error by looking for error #109, and my code appears to be working the way that it should.

Good luck with your work!

John.
Previous
Reply
Map
View

Click here to load this message in the networking platform