Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Child grid
Message
From
22/10/1998 19:59:22
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Miscellaneous
Thread ID:
00149231
Message ID:
00149654
Views:
26
>David,
>
>It's been so long since I've used linkmaster grids, but make sure you have the parent table workarea selected and that it's the initial selected alias of the DE.

I rechecked that just now. Even put SELECT WPage in the page activate. I've got a toolbar with "Next" which simply goes to the next record in WPage and does a thisform.refresh - which in effect does a grid.refresh (I have tested a ??chr(7) in grid.refresh to prove this). Then I click my little button which has a grid.refresh() command and it works!!! Dang!


>
>>I've had a parent child grid working for many months, just fine.
>>The parent table is "WPage" the child table, and the recordsource of the grid, is "Product".
>>
>>I've got as Grd1 data properties...
>>Childorder WPageId
>>LinkMaster WPage
>>RecordSource Product
>>RecordSourceType 1-Alias
>>RelationalExpr Wpage.wpageid
>>
>>Now all of a sudden the grid doesn't show the records belonging to the parent. (except intially) It's stuck!
>>If I put a command button on the form with "this.parent.grd1.refresh()" as the click event it comes good when clicked. And it refreshes with every "Next" "Prior" etc after that. If I put the same command in the refresh of the page, or in the activate event of the page it fires but doesn't work. That's weird! The data environment hasn't been changed at all from when it was working.
Previous
Reply
Map
View

Click here to load this message in the networking platform