Hello everyone,
I am a newbie. I have tried to google all over the internet but of no avail. Can anyone help me on querying using vb.net SQL string with field name of two or more words, ie "Start Date", "Del Last First Name"
Code:
strSQL = "SELECT startDate as ""Start Date"", delLastFirst as "Del Last First Name"....
rst as ADODB.Recordset = new ADODB.Recordset (strSQL, conn)
rst.Find ("Start Date = '8/16/2006'") 'this is where the problem lies
How do you specify the field name with two or more words. I have tried ""Start Date"", 'Start Date', but incorrect syntax. Can anyone help me?
Thanks
btran
I am a newbie. I have tried to google all over the internet but of no avail. Can anyone help me on querying using vb.net SQL string with field name of two or more words, ie "Start Date", "Del Last First Name"
Code:
strSQL = "SELECT startDate as ""Start Date"", delLastFirst as "Del Last First Name"....
rst as ADODB.Recordset = new ADODB.Recordset (strSQL, conn)
rst.Find ("Start Date = '8/16/2006'") 'this is where the problem lies
How do you specify the field name with two or more words. I have tried ""Start Date"", 'Start Date', but incorrect syntax. Can anyone help me?
Thanks
btran