Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Appending Records In A Grid?
Message
From
04/06/1998 02:57:51
 
 
To
04/06/1998 00:47:50
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00104455
Message ID:
00104588
Views:
26
>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.
---------
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform