Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parent/Child views - newbie Q
Message
 
To
02/09/1997 19:23:13
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00048152
Message ID:
00048226
Views:
23
>Newbie question alert ;-)
>
>I am trying to create a simple parent/child relationship on a data-entry form.
>Copying the OrderEntry form of the Tastrade example I was able to do this with my tables. However, I cant figure out how to do this with views of the tables (I was advised that I should use use views throughout to facilitate later upscaling the database to a server).
>
>Should I be using a view of the parent table AND a view of the child table in the dataenvironment, or should I be using one view of the two tables combined??? Since views dont have indexes like tables, how do I specify the relationship between the parent/child views???
>
>I've tried both approaches with no success - the fields of the parent view appear, but no child records are displayed and I cant add another :-(
>
>What should I put in the 'Linkmaster', 'childorder', etc methods of the child grid???
>
>Any suggestions/guidance welcome
>
>Martin

Just a quick note Martin, you can index a view. Create the view and use the INDEX command.

Steve
Previous
Reply
Map
View

Click here to load this message in the networking platform