Could someone give me a heads up on how to quote * in the select statement??
Here is my code. I am not sure where to put the * and how to quote it.
I am trying to catch the month. For example catch January by using Jan*
----------------------------------------------------------------------
records.Open "SELECT record.amount FROM record WHERE vendor_code = '" & vendor & "' AND period_covered LIKE '" & SelectMonth & "*';", Application.CodeProject.Connection, adOpenStatic, adLockOptimistic, adCmdText
----------------------------------------------------------------------
Thanks a bunch!!
Here is my code. I am not sure where to put the * and how to quote it.
I am trying to catch the month. For example catch January by using Jan*
----------------------------------------------------------------------
records.Open "SELECT record.amount FROM record WHERE vendor_code = '" & vendor & "' AND period_covered LIKE '" & SelectMonth & "*';", Application.CodeProject.Connection, adOpenStatic, adLockOptimistic, adCmdText
----------------------------------------------------------------------
Thanks a bunch!!