I have a form that has the data set to a query. On this form I have a text box that I want to combine two fields from the query into one and put that info in the textbox...
There is a textbox on the form txtLName
the fields are LName and FName
the query name is qryAddress
SELECT LName, FName, Address from tblAddress WHERE LName =txtLName
I want something like this:
dim strQuery as STRING
strQuery=qryAddress.LName 'how to reference the fields in a query?
strQuery=strQuery & " " & qryAddress.FName
Any ideas or suggestions?
There is a textbox on the form txtLName
the fields are LName and FName
the query name is qryAddress
SELECT LName, FName, Address from tblAddress WHERE LName =txtLName
I want something like this:
dim strQuery as STRING
strQuery=qryAddress.LName 'how to reference the fields in a query?
strQuery=strQuery & " " & qryAddress.FName
Any ideas or suggestions?