Not sure what I am doing wrong here...
The following code gives a malformed GUID in query expression message:
But have no problems when I place this in a query SQL as:
What am I doing wrong?
Thanks
The following code gives a malformed GUID in query expression message:
Code:
Set rs = CurrentDb.OpenRecordset(strSql, dbOpenDynaset)
strSql = "Select * from PC_SP_Line_tbl order by SP,[Line Number]"
But have no problems when I place this in a query SQL as:
Code:
Select * from PC_SP_Line_tbl order by SP,[Line Number]
What am I doing wrong?
Thanks