databasedonr
Registered User.
- Local time
- Today, 11:37
- Joined
- Feb 13, 2003
- Messages
- 163
Greetings:
I am having problems with a form that is based on a query: I want to take three of the fields in the query and concatenate them into one field on the form. I think this is simple, but I can't get it to work, so clearly I'm missing something.
The three fields in the query are Bureau, Section and Unit.
I create an unbound text box on my form (called txtOrg) and in the control source of the text box I type:
=[Bureau] & " " & [Section] & " " & [Unit]
I know there is valid data, as when I run the query upon which the form is based, the fields are populated.
When I view the form, I have a "#Error" displaying in the text box.
Although I have the form is set to view as a form only, if I change it to view as a datasheet, I receive the same error in the field "txtOrg".
Any suggestions? I thought this was straightforward -- I'm sure I've done this before....
I am having problems with a form that is based on a query: I want to take three of the fields in the query and concatenate them into one field on the form. I think this is simple, but I can't get it to work, so clearly I'm missing something.
The three fields in the query are Bureau, Section and Unit.
I create an unbound text box on my form (called txtOrg) and in the control source of the text box I type:
=[Bureau] & " " & [Section] & " " & [Unit]
I know there is valid data, as when I run the query upon which the form is based, the fields are populated.
When I view the form, I have a "#Error" displaying in the text box.
Although I have the form is set to view as a form only, if I change it to view as a datasheet, I receive the same error in the field "txtOrg".
Any suggestions? I thought this was straightforward -- I'm sure I've done this before....