Ok, here's the way the system works:
A = the stock file. this is essentially a set of records, each one corresponding to an item / serial number that is in stock in the company.
B = the items file. this is the items database, the itemID links to the stock file, i.e. looking at the stock file tells us how many of a given item we have in stock... items holds the info regarding item description etc.
D = the transactions file. this is where all the invoices are stored. they have a unique transaction item, but do not have the actual goods being sold on them. These are viewed through a portal to file C
C = the transactions items file. I.e. this is where each item on a sale has an record. On each record, there is a portal into the original stock file, that gets the serial number and item code. because on any given line all the codes must be the same, i have a simple calculation field that is actually IN file C to show the code, which is portaled into the transactions file (D).
The problem is this. I need to generate a list of all the serials on a given record in C, such that I can look at it through the portal in D. So I have a list of records (and hence serial numbers) in a portal in C, which I need to sumarize into one field (with ";" between them or something) so I can look at it from file D.
Arrrrgh, if only i could look at a portal through a portal!
thanks,
john