Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid cursor relations
Message
From
25/08/1997 21:01:41
Mandy Mccord
Public Interest Breakthroughs, Inc.
Albany, New York, United States
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00046819
Message ID:
00046824
Views:
25
>>I've got grids for which I've created cursors for the rowsources. The Select-SQL statements that create the cursors are in my Form's Load event, then my Grid's recordsourcetype is Alias and recordsource is the specific cursor's name.
>>
>>I want to relate my grid's cursor to the parent field control on the same page (my structure is Form->Pageframe->Page->controls) so when users change the parent field at the top of the page via my navigation buttons, the results in the grid change to show the corresponding child info in the cursor.
>>
>>How do I do this and where do I do this?
>>
>>Thanks!
>>Mandy
>
>you can do this where you change the record. probably best to move the sql statements to their own method. you can then call this method in your form load and wherever you have code that will change the parent record. make sense?

somewhat. can you fill in more details? I actually have my sql in their own code within my project (for testing purposes)...how do I call them from my form (and where of course :^) )?

and where do I establish the relations from my cursors to my parent? I get confused what exists when and how to create relations with non 'official' tables with indexes, i.e. cursors and views

Thanks!
Mandy
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform