Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Record in Use
Message
From
21/01/1999 15:14:52
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Record in Use
Miscellaneous
Thread ID:
00178675
Message ID:
00178675
Views:
57
In VFP 5.0 I am trying to accomplish what seems like a simple process: Whenever the user is in add mode and exits the right-most column in the grid, I want to invoke the Save button (THISFORM.cmdSave.Click()). This will validate and save the record and, since we are in add mode, invoke the cmdAdd.Click method. However, placing the code to make this happen in the textbox's LostFocus event causes a RECORD IS IN USE BY ANOTHER error message (using optimistic table buffering). If I go ahead and lose focus (switching back to the left-most column) and then manually click the Save button, everything works fine. Why?????

TIA--this has been driving me batty . . . .

John
Next
Reply
Map
View

Click here to load this message in the networking platform