Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Within a Grid
Message
From
09/10/1998 17:03:36
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00145559
Message ID:
00145570
Views:
27
Darren ---

Maybe I'm missing something, but couldn't the inner grid be populated via a parameterized view that was requeryed as required (like in AfterRowColChange event in the main grid)?


>>>Is there any standard way to handle having a grid within another grid?
>>>
>>>I can get it to work, except that all the inner grids show the same records. Obviously, I only want related records to show in the inner grids.
>>
>>It's not looking like standard way at all. The problem is that grid.column has just one control (grid in your case) with the same recordsource, and there is no DynamicRecordSource property :). You may reconsider your approach and have two grid (one-to-many) from.
>
>
>Yes, DynamicRecordSource was what I was looking for. Oh well. I've come up with a kludge using set filter, but it's not pretty. I'll probably end up with two grids.
>
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Reply
Map
View

Click here to load this message in the networking platform