Pickup the value of the table on Form

hfsitumo2001

Member
Local time
Today, 12:59
Joined
Jan 17, 2021
Messages
394
Hello, I want to pickup the value of a column in a table, but the source of the switchboard form is not from the table. I want it to show the version number on the form. I tried this:
Code:
SELECT tblLocalVariables.ID, tblLocalVariables.Value FROM tblLocalVariables
as the the source of the textbox version, but it does not work, it shows "#name" in the text box. This is my form below.
Version no.jpg
 
Try a DLookup(). You can't put SQL in a textbox like that.
 

Users who are viewing this thread

Back
Top Bottom