Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Retreive Relations in Form
Message
From
16/11/1998 20:11:23
 
 
To
15/11/1998 23:41:10
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00157722
Message ID:
00158084
Views:
20
>I am a little unclear still on what exactly you are trying to do...

So am I < G >...

>Is this like a developers only type form?

Kind of like a maintenance form for the sys administrator to go in and do a quick and dirty editing or adding of records. Not much checking involved...

Are you trying to figure out at run time which of two tables should be shown in a grid?

No, I was trying to figure out how to program the VCR buttons...

What I think that I want to do is have a form that can show a parent table and a child table in two grids.
>
>Ok. If you are always only dealing with 2 tables nad one relationship, this should be easy. You want to drop 2 tables into the DE of the form, drag some fields from the parent table onto the form and run (right?)

Correct, I want to drag a parent and a child table onto the form so it will show up in two grids.

. How do you want to navigate the parent records?

Perhaps I need a some stratigites on the VCR buttons.

Do you have a vcr buttons class? Or are there possibly two grids? Either way, using the method I outlined below, you should be able to decide which is the parent alias and which is the child, so which cursor is the grid's recordsource...

>
>If you give me a little more detail on the functionality you want, I'd be happy to help you brainstorm...


Just to recap as far as dropping the two tables on the form they have relations build into the DBC so that follows them. The big brain lapse for me is the VCR buttons. Do you have one set for each table?

I was thinking at first to drop the two tables onto the form then figure out in code what the relations were etc. Not sure if that is the way to go... I guess if you can tell what grid has the focus you can use one VCR button class to navigate that table????
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform