Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding New Records In A Grid
Message
De
30/06/1998 22:13:00
 
 
À
30/06/1998 21:12:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00113051
Message ID:
00113223
Vues:
21
>>nKeyCode = InKey()
>>If nKeyCode = 24
>> Insert Into GridTable(parent_id, otherparent_id) Values (Parent.parent_id, OtherParent.otherparent_id)
>> ThisForm.Refresh
>>EndIf
>>
>
>Try putting a NODEFAULT() before the EndIf
>and then going to the record.

Okay, I added the "NODEFAULT" and it seemed to work to an extent, i.e. it added the correct parent_id number, but it also added an incorrect otherparent_id! But this is progress. I didn't quite understand what you meant when you said "and then going to the record." Please explain further. TIA --lincoln
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform