Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
'Record in use' error...
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00147351
Message ID:
00147360
Views:
38
I had the same problem On Win NT 4. You have to lock the Table header before doing an insert. Becasue when you do an insert VFP tries to lock the header.

Check to see if you have access. If so Lock the header then use the insert coimmand.

I've got a Function Called Headlock

Can use this function in a loop or use a timer event.

IF RLOCK("0",alias())
RETU(.T.)
ENDIF

EG.

IF Headlock("MyAlias")
Insert Into MyAlias
Unlock
Endif
Fred Besterwitch, MCP

The harder you work. The luckier you get.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform