I am trying to do something I first thought would be simple, Doh!
I want to open a form to add a new record to a table, (Done that)
When the form opens I want certain fields already filled in with data from a query.
What I have is:
Table with Name, logonID & dept
Query that returns the Name & Dept from the table using the logonID as criteria : fOSUserName()
Form with 2 textboxes with there default value is set to the Name and Dept from the query.
The query works fine.
The form however is proving a bit troublesome as the textboxes only display #Name?
What am I doing wrong?
I want to open a form to add a new record to a table, (Done that)
When the form opens I want certain fields already filled in with data from a query.
What I have is:
Table with Name, logonID & dept
Query that returns the Name & Dept from the table using the logonID as criteria : fOSUserName()
Form with 2 textboxes with there default value is set to the Name and Dept from the query.
The query works fine.
The form however is proving a bit troublesome as the textboxes only display #Name?
What am I doing wrong?