I am using a ADODB connection to connect to an access database and am using an SQL string as the comandtext....but i need to check the validity of wat i have typed.....here is the sql statement..
dim cmdcommand as new adodb.command
With cmdCommand
.ActiveConnection = conConnection
.comanttext = "select * from Login where username = txusername.text"
.CommandType = adCmdText
End With
here i want to encorporate the use of check for a text feild...am i using the right Sql syntax here....as in can i jus refer to txtusername.text or do i have to use it like $txtusername.text or soemthing.....Plzz Help