Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parent-child refreshing problem
Message
From
29/09/1998 11:55:23
 
 
To
29/09/1998 07:55:28
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00141038
Message ID:
00141968
Views:
32
Thanks a lot everyone for your many advises.
It`s finally working, well, in a certain way.

Barbara,
in other words, in the child grid properties we must set RelationalExpr and ChildOrder to the same key!
In my case, I wanted to sort the child grid on a different tag and that gave me a blank grid.
Humm, isn`t that strange? Using that tag for ChildOrder is not realy ordering the child table since the value of that field is the same for selected records!?
(tell me if there`s something i miss)

Cetin,
your code bellow shows what I wanted to do. But I had to set ChildOrder = "parkeyfield" otherwise the child grid was blank. (i`ll verify my INDEX and TAGs again though)

Claude


>Now in your relation as Barbara stated, childorder seem to be wrongly set. :
use parenttable in 0
>use childtable in 0 order tag reltag
>select parenttable
>set relation to parkeyfield into childtable
>
>* Correspond to properties of child grid
>Childorder = "reltag"
>Linkmaster = "parenttable"
>RelationalExpression = "parkeyfield"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform