The following is the code for trying to get data from a related table using sql statements.
sqlstr = "SELECT * FROM nanny inner join references on nanny.id = references.id"
sqlstr = sqlstr & " WHERE nanny.id = " & request("id"
I get a syntax error on the execution of this statement saying I have an error on the from statement.
sqlstr = "SELECT * FROM nanny inner join references on nanny.id = references.id"
sqlstr = sqlstr & " WHERE nanny.id = " & request("id"
I get a syntax error on the execution of this statement saying I have an error on the from statement.