>Hai All !!!
>
> I am a beginner in using Visual Fox Pro, But i am know little about it.
> Here, i want to ask about Adding record in Grid with more than 1 table inside
> but it related to the parent table that locate outside the grid !!
>
> I have some trouble with it !!!
> Please help me !!
>
> And Also when adding a record else where, how should we put an "APPE BLANK" command
> In the New Button or In Save Button.
>
> I Guess That's all for know !!
>
> Thanks Again, if you would send me the answer !!
>
> Thanks...........
Tut,
Hard to understand :) I assume you want to add a record to one or more child tables that are linked to a parent :
insert into Child1 (linkfield) values (foreignkeyvalue)
insert into Child2 (linkfield) values (foreignkeyvalue)
You could put "append blank" anywhere but what makes sense is "new" button. Just be sure to fill linking field value (foreign key) so it's not orphaned.
Cetin