I have the following code that gives me an error that something is wrong with the from clause.
sqlstr = "SELECT * FROM nanny, references left join references on nanny.id = references.id"
sqlstr = sqlstr & " WHERE nanny.id = " & request("id"
I have tried to cut and paste a query from access sql builder and also tried a number of ways manually but cannot seem to fix this. It works find if I just do a select * from file where field = variable.
sqlstr = "SELECT * FROM nanny, references left join references on nanny.id = references.id"
sqlstr = sqlstr & " WHERE nanny.id = " & request("id"
I have tried to cut and paste a query from access sql builder and also tried a number of ways manually but cannot seem to fix this. It works find if I just do a select * from file where field = variable.