Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQuery DataDictionary - how to define relations
Message
 
 
To
07/04/2008 08:59:39
General information
Forum:
Visual FoxPro
Category:
Stonefield
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01308300
Message ID:
01308686
Views:
12
>Hi Naomi.
>
>>We have some complex relations between tables. One table is called Codes and it has TYPE, CODE, Description fields.
>>
>>We need to join two tables based on Field=Codes.Code and Codes.Code = "SOME TYPE"
>>
>>I see in Stonefield DataDictionary a memo field to define the complex join, but it doesn't tell me what should I put into it. Just AND condition?
>
>You put whatever goes into the JOIN clause of a SQL statement. Remember to alias the tables. So, you'd use something like ChildTable.Field = Codes.Code AND Codes.TypeField = "SOME TYPE".
>
>Doug

Yes, figured this afterwards.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform