Hi there.
This is probably an easy task, but I am new to Access.
I have a combo box called cboSymbol. I want to allow a user to select a symbol and then display the corresponding description of that symbol in a text box.
I think I need a way of executing an SQL statement that looks something like this:
desString = "SELECT Description from Assets WHERE Symbol = " & cboSymbol.Value & ";"
So the answer to the query is returned and stored as a string in desString. I can then set the value of the text box to display the returned query:
txtBoxDescription.Value = desString
Does anyone know how to execute a SQL command and store the returned value as a string, or know a different way of accomplishing this?
Thanks!