Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Appending Records In A Grid?
Message
De
04/06/1998 02:57:51
 
 
À
04/06/1998 00:47:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00104455
Message ID:
00104588
Vues:
25
>Now I'm getting it to display in the form but it isn't being saved in the actual table! --lincoln

What i'm using now is a default value in the table design for the parent_id:

default value: iif(used("parent_alias", parent_alias.id, "")

so even you issue append blank or insert-sql witout value of parent_id, if the parent table is opened, parent_id wi'll be initialized.

In order to add new items with arrow, what about 'allowaddnew' property ?. This property allos user to add a new record into child table just pressing down arrow key, and if you have the default value as described, it will works fine.
Carlos.
Saludos,
A.G.P.
---------
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform