Hi,,,
I have 2 tables in access: tblUrl (software Url, contract number- 2 columns)
and tblAccContract(4 columns-accountid, contract id, contract date, email addr)
I am querying these two tables using inner join. I get the result properly, but unable to retrieve the values from those tables. I think the problem is with the query I used for joining these two tables.
Please check with this:
The output has to be like:"Download your software here: www.google.com...."
But it says: "Download your software here..."
It doesnt display the Url in the tblUrl table
code is:
strSQL ="SELECT tblAccContract.accountId,tblAccContract.emailAddr, tblAccContract.contractNo, tblUrl.softwareUrl"
strSQL =strSQL & " FROM tblAccContract INNER JOIN tblUrl ON tblAccContract.contractNo = tblUrl.contractNo"
strSQL =strSQL & " WHERE (tblAccContract.emailAddr)='" & strEmail &"'"
objRS.open strSQL,conn
strUrl=objRS("tblUrl.softwareUrl")
response.write strUrl
Anyone familiar with this - please check with the code....I just need to get the values from multiple tables when Join is sued in Access.
Thanks
Tanya