S
Scott
I'm trying to turn the below access query into a string variable so I can
set a combo box rowsource in code. Can someone help me re-write the sql
statement as a string? I'm having trouble with the quotes.
CODE:
*******************
SELECT ad.detailID, a.artID, [artItem] & " - " & [artName] & " ($" &
[detailPrice] & ")" AS Name
FROM t_status AS s INNER JOIN ((t_artDetails AS ad INNER JOIN t_art AS a ON
ad.artID = a.artID) INNER JOIN t_artist AS [at] ON a.artistID = at.artistID)
ON s.statusID = ad.statusID
ORDER BY [artItem] & " - " & [artName] & " ($" & [detailPrice] & ")",
ad.detailDate;
set a combo box rowsource in code. Can someone help me re-write the sql
statement as a string? I'm having trouble with the quotes.
CODE:
*******************
SELECT ad.detailID, a.artID, [artItem] & " - " & [artName] & " ($" &
[detailPrice] & ")" AS Name
FROM t_status AS s INNER JOIN ((t_artDetails AS ad INNER JOIN t_art AS a ON
ad.artID = a.artID) INNER JOIN t_artist AS [at] ON a.artistID = at.artistID)
ON s.statusID = ad.statusID
ORDER BY [artItem] & " - " & [artName] & " ($" & [detailPrice] & ")",
ad.detailDate;