Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Frustration: Add same table twice in a view joined on 2
Message
 
À
22/04/2003 18:23:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00780110
Message ID:
00780467
Vues:
10
>>I have got this generated automatically by the VFP View Designer. The sequential order should have been maintained as I first saved the view with the first join and got it working on my form. Then reopened it and added the same table again in the View and joined this another one. I tried to switch the joins into 2 places in seq. order i think was valid but then the VFP view designer said that the index is corrupted and that I should rebuild it for this view???
>
>You must be using VFP 5, 6 or 7. VFP 8 made some *very* useful tweaks to the View Designer to make it work better. Another option is eView, a freeware replacement for the View Designer. Other than that, you may need to maintain the view in code.

VFP6 and is ViewEditor from GeeksAndGurus the same as eView?

>
>>Any suggestions? Any way you feel the view SQL should be I can cut-paste (I am not much of a coder) into the View using View Editor which will allow me to do it.
>
>Just a guess, but try
>
>SELECT TINQUIRY.*, MAGENT.CAGENTNAME, MAGENCT.CAGENTCITY, MPARTY.CPARTYNAME, MPARTY.CPARTYCITY ;
>FROM VSO3!TINQUIRY ;
>    INNER JOIN VSO3!MACCOUNTS MAGENT ;
>	ON TINQUIRY.IAGENTID = MAGENT.IID ;
>    INNER JOIN VSO3!MACCOUNTS MACCOUNTS_A ;
>	ON TINQUIRY.IPARTYID = MPARTY.IID ;
>ORDER BY TINQUIRY.DDT, TINQUIRY.CBK, TINQUIRY.INOI
>
Try it and let you know. Thanks
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform