Using Windows 7,
Access 2010.
Is there a way to combine four fields into one field in the same record? I’m trying to build Equipment Code field by using the abbreviated values of Category, Item, Type and Dimension fields.
Example: if Category=Storage System (SS), Item=Wire Deck (WD), Type=Flared (F) Dim=42x52 are the user selected values the corresponding equipment code field would be: SS-WD-F-42x51
This is done in order for all users of the database to build a proper code in the correct format.
What I have so far:
I have the four fields and the equipment code field setup in a form, the equipment code text box has a control source of: =[Category] & "-" & [Item] & "-" & [Type] But when I select values of the four fields and the equipment code is populated I try to save the record and I get an error stating that the Equipment code field needs to be filled out.
Three fields (Category, Item, and Type) are look-ups from other tables and Dimension is typed in.
Can someone tell me if I'm even on the right path as to what I'm trying to do?
Any time spent on this would be greatly appreciated. Thank you.
Access 2010.
Is there a way to combine four fields into one field in the same record? I’m trying to build Equipment Code field by using the abbreviated values of Category, Item, Type and Dimension fields.
Example: if Category=Storage System (SS), Item=Wire Deck (WD), Type=Flared (F) Dim=42x52 are the user selected values the corresponding equipment code field would be: SS-WD-F-42x51
This is done in order for all users of the database to build a proper code in the correct format.
What I have so far:
I have the four fields and the equipment code field setup in a form, the equipment code text box has a control source of: =[Category] & "-" & [Item] & "-" & [Type] But when I select values of the four fields and the equipment code is populated I try to save the record and I get an error stating that the Equipment code field needs to be filled out.
Three fields (Category, Item, and Type) are look-ups from other tables and Dimension is typed in.
Can someone tell me if I'm even on the right path as to what I'm trying to do?
Any time spent on this would be greatly appreciated. Thank you.