Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Loading a Table from an SQL Select
Message
From
30/12/1998 10:07:11
 
 
To
30/12/1998 10:03:57
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00171516
Message ID:
00171517
Views:
27
>For a medical system I need to select a group of patients from a master table and load/stuff a table or grid with some of the fields from the master table....easy enough using Select SQL BUT if a field in the master table contains a value which is related to a look-up table, i.e. Region '1' which is actually 'North-East' in the related table, HOW can I transfer 'North-East' into the search results instead of '1'.
>
>At the moment I am doing the Select SQL which transfers raw data from the master table then loading another table with related data etc which takes time
>
>Any ideas please anyone?

There are many ways to do this. The straightforward one is to JOIN look-up table to your SELECT.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform