Dec 5, 2005 #1 tbonehwd IS-IT--Management Jul 28, 2005 45 US When using sql in vba I want to for example Select x As strTEST. I tried: Dim strTEST As String strTEST="12/04/2005" Select Somthing As "& strTEST &" Can this be done? When I try I get an Error 3141 Thanks, TboneHwd
When using sql in vba I want to for example Select x As strTEST. I tried: Dim strTEST As String strTEST="12/04/2005" Select Somthing As "& strTEST &" Can this be done? When I try I get an Error 3141 Thanks, TboneHwd
Dec 5, 2005 1 #2 PHV MIS Nov 8, 2002 53,708 FR Select Somthing As [" & strTEST & " ] Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886 Upvote 0 Downvote
Select Somthing As [" & strTEST & " ] Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
Dec 5, 2005 Thread starter #3 tbonehwd IS-IT--Management Jul 28, 2005 45 US Thank you worked perfect... Upvote 0 Downvote