Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Blending fields

Status
Not open for further replies.

RAClarke

Instructor
Sep 3, 2001
51
0
0
GB
Is it possible to have three fields on a form with the content of field 3 based on the input of fields 1 and 2. For example if field 1=a and field 2=b, is it possible for field to equal 'a b'
 
Yes

The Control source of field 3 will be like this:

=Field1 & Field2

Be careful of how the controls are named. Access will name the control with the same name as the field from the table. This causes problems when referencing the data in another place. A #Error will be displayed because Access doesn't know if you are referring to the control or to the field in the table.

To avoid this, name the controls on the form like this: txtField1, txtField2, etc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top