Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Record in Use
Message
De
21/01/1999 15:14:52
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Record in Use
Divers
Thread ID:
00178675
Message ID:
00178675
Vues:
59
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform