Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL - Litle problem...
Message
De
13/04/2000 21:12:51
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
13/04/2000 21:01:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00359564
Message ID:
00359603
Vues:
10
>Hi Cetin,
>
>Thank's for the riply. I try what you say, but didn't work. I think is in the 3 code line, but i need them.
>
>What is my query about.
>
>DocumentosCabcli=HeaderInvoices
>DoumentosLinCli=InvoicesLines
>Clientes=Clients
>Documentos=Documents
>
>I want to build a query to print invoices. I have in my HeaderInvoices Client.ID then i want to go to clients Table and get the client name, then in HeaderInvoices i have Document.ID the i want to go to Table documents and get Document Name.
>
>Any more help i apreciate.
>
>Thank's in Advance
>
>João Batista


Joao,
It was really long and hard to follow. As I understand you need to link a table into 2 others. It might require the SQL joins are done in a specific order without optimization. Try with a "force" clause :
select * from FORCE mytab1 left join ....
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform