Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
View Designer handling of two or more joins
Message
From
29/10/1997 13:45:20
 
 
To
29/10/1997 13:33:20
David Vineyard
Building Technology Associates, Inc.
Oak Park, Michigan, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00057232
Message ID:
00057235
Views:
26
>I am attempting to create a view involving three tables in two different .DBC's in VFP 5.0.
>When I attempt to save the view I get the following message:
>SQL: Column CPROJRCWK is not found
>
>This is the SQL generated by the Designer:
>
>SELECT Qcrvaria.*, Qcr.crecordnumber, Projrcwk.csequence,;
> Projrcwk.cdescription, Projrcwk.mtext;
> FROM sitestat!qcrvaria INNER JOIN sitestat!qcr;
> INNER JOIN pas!projrcwk ;
> ON Qcrvaria.cprojrcwk = Projrcwk.cprojrcwk ;
> ON Qcrvaria.cqcr = Qcr.cqcr;
> ORDER BY Qcr.crecordnumber, Projrcwk.csequence
>
>The field CPROJRCWK is the primary key in the PROJRCWK table and is a foreign key
>in the QCRVARIA table and it most definately is found in both. Has nay seen this one and
>is there a workaround. Please contact me at bcogswell@networkbta.com if you have any advice.

View designer cannot handle properly complicated views. Use CREATE SQL VIEW to create view programmatically and CURSORSETPROP() to handle its properties.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform