Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Select in VFP5
Message
From
04/11/1997 14:55:41
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
SQL Select in VFP5
Miscellaneous
Thread ID:
00058200
Message ID:
00058200
Views:
69
Hi All.

I have just converted an app started in VFP 3.0b to 5.0a. I am trying to set up a local view, and the documentation in the on-line help on JOIN conditions is awful! Can I do the following in the view designer? Or will I need to create the view in code?

I have a table of contacts. Its PK is Co_Key. It also has 2 FK's, Co_Cl_Key and Co_Fa_Key. If it is a client's corporate contact, Co_Cl_Key is some non-zero integer and Co_Fa_Key = 0. If it is a contact at some facility, It Co_Fa_Key is some non-zero integer and Co_Cl_Key = 0. Client has a 1 to many relationship with Region. Region has a 1 to many relationship with Facility. All I want to do is create a local view for all contacts ordered by client name and facility name (if it is a contact for a specific facility)

TIA

Marcia
Reply
Map
View

Click here to load this message in the networking platform