Ok, this is a little long winded but I'll do my best to keep it brief
I currently have an access database for tracking company assets and performing maintenance tasks on them.
We also have a number of Stores Stock Items that are controlled under a separate finance package.
Now,
We currently have forms that create individually numbered "Job Cards" in the Job Cards Table
we input the data and manually type into a Text Box the we have used 'X' number of Store Stock 'Item Y'
I have then use a query to export the data i need (Job number, dates, location and Store Stock Items)
But I have to manually re-construct the data and items into separate lines in an excel sheet for a paste operation into the finance package (lots of typing of 16 digit stock codes)
What i want is to use a second table (linked via the "Job Card#" key)
It will be called "Stock Items" which has a separate field for each of our stock items.
the user then just opens second form while creating the job that immediately creates a new record
The user then simply has to put the number of each item used in the relevant text box on the form and close.
example of datasheet view
Job# __ ItemX __ ItemY
2417_____3_______7
Now, I have all of that working as I want, But i nee to be able to combine the data from each field into a single field (either in access or excel)
What I want to see is a field containing
3x ItemX, 7x ItemY, etc
if there are none of one or more items, I don't want anything displayed for that item (blank space is ok)
I have 30 or more stock items, so there will be 30 or more columns in the table. the actual data stored in the table is simply the quantity of each item used.
this data is used twofold,
on export to Excel I can split the data into new cells
and it's used on a despatch note that is returned with the item so the end user can see the items that were used in the repair.
So it needs to be done upon saving the record, record by record.
hope this makes some sense