automaticbaby
Technical User
I have an SQL statement which I know works. When I type the code into the form, though, I get an error.
This the code in the form:
RPFirstName = "SELECT Individual.First Name, UserID.UserID FROM UserID INNER JOIN Individual ON UserID.IndividualNo = Individual.IndividualNo WHERE (((UserID.UserID)= " & Me.RPID & ");"
The textbox RPFirstName is always showing what is written between the quotation marks. How can I get the result from this query to pop up in the textbox?
Thanks
This the code in the form:
RPFirstName = "SELECT Individual.First Name, UserID.UserID FROM UserID INNER JOIN Individual ON UserID.IndividualNo = Individual.IndividualNo WHERE (((UserID.UserID)= " & Me.RPID & ");"
The textbox RPFirstName is always showing what is written between the quotation marks. How can I get the result from this query to pop up in the textbox?
Thanks