K
Kyle Jedrusiak
I'm using an ADODB.Command object to send a programatically built sql
command to the server from and Access .adp project.
The command that I generate is...
select * from vwLBFlagSearchResults where LineID in (select distinct LineID
from vwSearch where RespondentEmail='(e-mail address removed)')
I set the ADODB.CommandType to adCmdText, I set the CommandTimeout to system
wide settings, and I set the CommandText to the above string.
When I call Command.Execute the object interprets the @x.com as a parameter,
puts up a dialog box asking me for a value for that parameter. If I click
OK or Cancel, the search actually works.
What do I need to do so it doesn't interpret the @ to mean a parameter?
Kyle!
command to the server from and Access .adp project.
The command that I generate is...
select * from vwLBFlagSearchResults where LineID in (select distinct LineID
from vwSearch where RespondentEmail='(e-mail address removed)')
I set the ADODB.CommandType to adCmdText, I set the CommandTimeout to system
wide settings, and I set the CommandText to the above string.
When I call Command.Execute the object interprets the @x.com as a parameter,
puts up a dialog box asking me for a value for that parameter. If I click
OK or Cancel, the search actually works.
What do I need to do so it doesn't interpret the @ to mean a parameter?
Kyle!