Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Record in Use problem in grid
Message
De
14/06/2002 15:49:52
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00668600
Message ID:
00668747
Vues:
11
>Hi. That thread didnt seem to solve it. Perhaps my problem is not caused by the valid or lostfocus but by a double replace command. If you issue a replace command on a record that is optimistically table buffered and you issue a second replace on the same record, do you get a record is in use error?

Record Example:
Key Field1 Field2
A MyName 100.00

first you REPLACE Field1 with 'NewName' in exampletable

later you REPLACE Field2 with 50 in exampletable

- My problem is occuring in a grid with a field that has this called from a lostfocus command. It only happens if while in the field I press CTRL+INS which causes the following events
KEYPRESS
INSERT
REFRESH grid
field.LOSTFOCUS
--- second replace command...


TIA,
Sandi
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform