Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bug in View Designer?
Message
De
13/10/1998 12:57:57
 
 
À
13/10/1998 11:25:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00146260
Message ID:
00146325
Vues:
22
Mike,

I have found a workaround for this problem which will allow you to build your view entirely in the view designer (with more than one joined table).

Don't let VFP define the joins for you when you add your tables and don't make your joins in the join tab - use the filter tab instead and just join your tables using the "where" clause (just like the pre-5.0 days). Then you won't get that error.

The following filter tab example joins a parent and two child tables and filters the result with 2 filter parameters:

filter expression:
parent.keyfield is equal to child1.foreignkeyfield .AND.
parent.keyfield is equal to child2.foreignkeyfield .AND.
parent.filterfield1 is equal to ?ViewParameter .AND.
parent.filterfield2 is equal to ?ViewParameter2

If you insist on using the join syntax, you'll have to create your view programmatically but this workaround seems to do the job quite well within the view designer.

-JT
Jeff Trockman, MCP
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform