Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Join queries ...

 
Post new topic   Reply to topic    Infralution Support Forum Index -> Virtual Data Objects Support
View previous topic :: View next topic  
Author Message
temilson



Joined: 18 Nov 2006
Posts: 4

PostPosted: Sat Nov 18, 2006 6:51 am    Post subject: Join queries ... Reply with quote

How can I populate a grid with results of a JOIN query using the VirtualRecordSet?
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Sat Nov 18, 2006 10:16 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> Virtual Data Objects Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group