First of all, please let me apologize in advance for my lack of technical knowledge and proper terminology skills when it comes to databases. I have never taken any classes, but have only felt my way around by trial and error, hook and by crook, and mimicry. In other words, I have just enough knowledge to know I don’t know anything and to get me into trouble. But here goes…
I am using Access 2007. I have five fields in a table named TblComponents. The fields are named:
[OpportunityRef] – a company-assigned reference number
[Customer] – Control Source for the 1st of 3 cascading combo boxes called cboCustomers in the bound form named Components
[Division] – Control Source for the 2nd of 3 cascading combo boxes called cboDivisions
[Location] – Control Source for the 3rd of 3 cascading combo boxes called cboLocations
[Program] – text usually consisting of many words
Besides needing these fields as individual pieces of data for each of our products or “components” throughout the database, our company uses a unique tag name to reference each component in all correspondence. This tag name is made up from a string of identifying data and is joined together with dashes, namely [OpportunityRef]–[Customer]–[Division]–[Location]–[Program]. So a tag name might look like this:
0098457–All Star Systems–Technical Services–Dallas, TX–Zebra Flight Struts/Multi-Mission Project
I would like to create a field which is automatically populated from the five table fields, with dashes added in between, which effectively builds the tag name for the user. I would like to be able to access this field from both the table itself and the form.
Is this possible? How would I accomplish this?
I would also like to ask another question. Our company uses a lot of dashes and slashes in our daily written business. Do these characters create problems in Access. If so, is there a work around for that so to speak?
Thanks in advance for any and all help received!