Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
2 related tables in 1 grid
Message
From
23/02/2001 12:53:02
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00478867
Message ID:
00478942
Views:
24
Why not just use a view constructed from both tables?

>I have a relation set up between two tables and have fields from each
>in a single grid. The relation is set in the DE.
>
>Grid.RecordSource = "order"
>Grid.Column1.ControlSource = "order.ordernum"
>Grid.Column2.ControlSource = "order.total"
>Grid.Column3.ControlSource = "customer.name"
>
>This almost works except here is what it shows...
>
>
>ordernum total name
>1 100 Joe
>2 350 Mike
>3 50 MiKe
>
>All of the orders are for the same person. It picks up the
>first record of customer for the grids first row. The data
>is correct in the table and it all looks ok when using two
>browse windows. What's going on?
>
>vfp5.0
Previous
Reply
Map
View

Click here to load this message in the networking platform