View previous topic :: View next topic |
Author |
Message |
temilson
Joined: 18 Nov 2006 Posts: 4
|
Posted: Sat Nov 18, 2006 6:51 am Post subject: Join queries ... |
|
|
How can I populate a grid with results of a JOIN query using the VirtualRecordSet? |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Sat Nov 18, 2006 10:16 pm Post subject: |
|
|
Simply specify the JOIN clause in the "Select" statement you pass to the constructor eg
Code: | SELECT Sale.*, Customer.Name FROM ((Sale LEFT JOIN Customer ON Sale.Customer_ID=Customer.ID) |
_________________ Infralution Support |
|
Back to top |
|
|
|