Hi Everyone -
I'm kind of stumped at the moment and I'm trying to think of more ideas to solve my problem. The database I built is used for tracking inspections on various hardware parts that we use to build our product. I have a form that displays inspection details and a subform to that form that displays results such as the serial number inspected, whether it was accepted or rejected after inspection, whether it was physically inspected by the inspector and in some cases if it was rejected, an issue is written up about it (i.e. 2009-NMR-XXXX) I have attached a jpg of the subform.
My problem is that I would like to have the issues ("NMR" column) to appear as a concatenated list in the NMR field (2009-NMR-XXXXX, 2009-NMR-XXXXX, 2009-NMR-XXXXX- etc). The way it's displayed now, the serial number is repeated for each issue number which creates unecessary rows since the serial number is the same - this also thows the number accepted/rejected.
In the underlying query, the issue number resides in a single table of another database which I link to. The remaining fields are another table in my database. The two tables are then joined by the serial number...
I know I will have to write some VB to create the concatenated list but I'm not sure where to put that code. In an event on the subform?
Any ideas are appreciated!
Thanks
I'm kind of stumped at the moment and I'm trying to think of more ideas to solve my problem. The database I built is used for tracking inspections on various hardware parts that we use to build our product. I have a form that displays inspection details and a subform to that form that displays results such as the serial number inspected, whether it was accepted or rejected after inspection, whether it was physically inspected by the inspector and in some cases if it was rejected, an issue is written up about it (i.e. 2009-NMR-XXXX) I have attached a jpg of the subform.
My problem is that I would like to have the issues ("NMR" column) to appear as a concatenated list in the NMR field (2009-NMR-XXXXX, 2009-NMR-XXXXX, 2009-NMR-XXXXX- etc). The way it's displayed now, the serial number is repeated for each issue number which creates unecessary rows since the serial number is the same - this also thows the number accepted/rejected.
In the underlying query, the issue number resides in a single table of another database which I link to. The remaining fields are another table in my database. The two tables are then joined by the serial number...
I know I will have to write some VB to create the concatenated list but I'm not sure where to put that code. In an event on the subform?
Any ideas are appreciated!
Thanks