Hi Barbara,
Thanks. Yeah, I figured that out. Strange VFP can be so tricky!
>Dodi,
>If you use the grid properties (LinkMaster,ChildOrder etc.) any code that changes indexes will disrupt your grid. It's MUCH easier to use parameterized views for child grids.
>
>HTH
>Barbara
>
>Hi,
>>
>>I have a form with Parent to two children. The relationship is set to Parent's primary key to Child's foreign key. Then in both grids the ChildOrder has a different tag. It doesn't work. The order tag set in the relationship takes over. So I tried using the foreign key in the relationship, it works fine, but if adding a record in the grid was cancelled, the grid blanks out. I tried Refresh() with no luck.
>>
>>Why is ChildOrder in grid ignored?
Thanks!
~d
J