Abhinav Shori
Member
I have:
strSQL = "select strAnalystName from Analyst where strSystemName=""" & GetNetUser() & """;"
in access... getnetuser() is a function to get username, I can use Environ$ as well.
the result of the above query should be 1 column.
How would I display it in a msgbox?
if there are more than 1 rows, how would I refer to the each element?
Thanks in advance.
strSQL = "select strAnalystName from Analyst where strSystemName=""" & GetNetUser() & """;"
in access... getnetuser() is a function to get username, I can use Environ$ as well.
the result of the above query should be 1 column.
How would I display it in a msgbox?
if there are more than 1 rows, how would I refer to the each element?
Thanks in advance.