I am very new to VBA and MS Access. I need run a select statement and get the data into some string.
SQL = "Select CustomerName from Customers"
SQL = SQL & " WHERE CustomerID = '" & StrCustID & "' "
I need to run this query and get the value of CustomerName in to some string say (strName). How can i do that?
Thanks
SQL = "Select CustomerName from Customers"
SQL = SQL & " WHERE CustomerID = '" & StrCustID & "' "
I need to run this query and get the value of CustomerName in to some string say (strName). How can i do that?
Thanks