Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL - Litle problem...
Message
From
13/04/2000 21:12:51
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
13/04/2000 21:01:50
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00359564
Message ID:
00359603
Views:
9
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform