If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Visual Basic > VBA Query actually but ..

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-23-10, 12:22
ben2203 ben2203 is offline
Registered User
 
Join Date: Feb 2010
Posts: 21
VBA Query actually but ..

wrong forum

Last edited by ben2203; 02-23-10 at 12:35.
Reply With Quote
  #2 (permalink)  
Old 02-23-10, 12:30
pootle flump pootle flump is offline
King of Understatement
 
Join Date: Feb 2004
Location: One Flump in One Place
Posts: 14,905
Code:
Private Sub Label5_Click()
Dim strsql
strsql = "SELECT tbl_ShipOrders.receiver_id, " & _
"Receiver.company AS Receiver_name, " & _
"FROM tbl_ShipOrders " & _
"INNER JOIN tbl_Customers AS Receiver " & _
"ON Receiver.custid = tbl_ShipOrders.Receiver_ID " & _
"Order By Receiver_Name"

End Sub
of course this will do nothing since you don't actually use the string.

This would be better in the Access forum
__________________
Testimonial:
Quote:
pootle flump
ur codings are working excelent.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On