Good morning, brilliant site – so helpful!!!
I’ve been asked to see if it may be possible to see if there is some code which could help in us re-organising some informationÂ…
We have to collate a report where it takes our main stocklist and cross references it against other part number & their references. #
We have raw information laid out like this:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD="align: center"]Line ID
[/TD]
[TD="align: center"]Part Number 1
[/TD]
[TD="align: center"]Referece 1
[/TD]
[TD="align: center"]Part Number 2
[/TD]
[TD="align: center"]Reference 2
[/TD]
[TD="align: center"]Part Number 3
[/TD]
[TD="align: center"]Reference 3
[/TD]
[TD="align: center"]Part Number 4
[/TD]
[TD="align: center"]Reference 4
[/TD]
[/TR]
[TR]
[TD]19231
[/TD]
[TD]ABC/123
[/TD]
[TD]internal
[/TD]
[TD]5962-99
[/TD]
[TD]Joe Bloggs
[/TD]
[TD]54LS_TCX
[/TD]
[TD]Fred Smith
[/TD]
[TD]MC54HC
[/TD]
[TD]Joe Bloggs
[/TD]
[/TR]
[TR]
[TD]19232
[/TD]
[TD]XYZ78-9
[/TD]
[TD]internal
[/TD]
[TD]SN54LS
[/TD]
[TD]Jako
[/TD]
[TD]MC54LS
[/TD]
[TD]BeanCounters
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]19233
[/TD]
[TD]123456
[/TD]
[TD]generic
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]19234
[/TD]
[TD]FE 9365
[/TD]
[TD]generic
[/TD]
[TD]KFKK44
[/TD]
[TD]Joe Bloggs
[/TD]
[TD]KKKD/WDFWD_9
[/TD]
[TD]Joe Bloggs
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
For each Line ID There can be up to 30+ different part numbers (each with a reference)
And weÂ’d like the report to look something like this:
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]Line ID
[/TD]
[TD]Part Number
[/TD]
[TD]Reference
[/TD]
[/TR]
[TR]
[TD]19231
[/TD]
[TD]ABC/123
[/TD]
[TD]internal
[/TD]
[/TR]
[TR]
[TD]19231
[/TD]
[TD]5962-99
[/TD]
[TD]joe bloggs
[/TD]
[/TR]
[TR]
[TD]19231
[/TD]
[TD]54LS_TCX
[/TD]
[TD]fred smith
[/TD]
[/TR]
[TR]
[TD]19231
[/TD]
[TD]MC54HC
[/TD]
[TD]Joe Bloggs
[/TD]
[/TR]
[TR]
[TD]19232
[/TD]
[TD]XYZ78-9
[/TD]
[TD]internal
[/TD]
[/TR]
[TR]
[TD]19232
[/TD]
[TD]SN54LS
[/TD]
[TD]Jako
[/TD]
[/TR]
[TR]
[TD]19232
[/TD]
[TD]MC54LS
[/TD]
[TD]Beancounters
[/TD]
[/TR]
[TR]
[TD]19233
[/TD]
[TD]123456
[/TD]
[TD]generic
[/TD]
[/TR]
[TR]
[TD]19234
[/TD]
[TD]FE 9365
[/TD]
[TD]generic
[/TD]
[/TR]
[TR]
[TD]19234
[/TD]
[TD]KFKK44
[/TD]
[TD]Joe Bloggs
[/TD]
[/TR]
[TR]
[TD]19234
[/TD]
[TD]KKKD/WDFWD_9
[/TD]
[TD]Joe Bloggs
[/TD]
[/TR]
</tbody>[/TABLE]
So hopefully what we are trying to do for each line ID is show all of the part numbers that are associated with that Line ID. And the references that are associated with those part numbers.
Any help would be MASSIVELY appreciated!
With thanks
NEil
I’ve been asked to see if it may be possible to see if there is some code which could help in us re-organising some informationÂ…
We have to collate a report where it takes our main stocklist and cross references it against other part number & their references. #
We have raw information laid out like this:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD="align: center"]Line ID
[/TD]
[TD="align: center"]Part Number 1
[/TD]
[TD="align: center"]Referece 1
[/TD]
[TD="align: center"]Part Number 2
[/TD]
[TD="align: center"]Reference 2
[/TD]
[TD="align: center"]Part Number 3
[/TD]
[TD="align: center"]Reference 3
[/TD]
[TD="align: center"]Part Number 4
[/TD]
[TD="align: center"]Reference 4
[/TD]
[/TR]
[TR]
[TD]19231
[/TD]
[TD]ABC/123
[/TD]
[TD]internal
[/TD]
[TD]5962-99
[/TD]
[TD]Joe Bloggs
[/TD]
[TD]54LS_TCX
[/TD]
[TD]Fred Smith
[/TD]
[TD]MC54HC
[/TD]
[TD]Joe Bloggs
[/TD]
[/TR]
[TR]
[TD]19232
[/TD]
[TD]XYZ78-9
[/TD]
[TD]internal
[/TD]
[TD]SN54LS
[/TD]
[TD]Jako
[/TD]
[TD]MC54LS
[/TD]
[TD]BeanCounters
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]19233
[/TD]
[TD]123456
[/TD]
[TD]generic
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]19234
[/TD]
[TD]FE 9365
[/TD]
[TD]generic
[/TD]
[TD]KFKK44
[/TD]
[TD]Joe Bloggs
[/TD]
[TD]KKKD/WDFWD_9
[/TD]
[TD]Joe Bloggs
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
For each Line ID There can be up to 30+ different part numbers (each with a reference)
And weÂ’d like the report to look something like this:
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]Line ID
[/TD]
[TD]Part Number
[/TD]
[TD]Reference
[/TD]
[/TR]
[TR]
[TD]19231
[/TD]
[TD]ABC/123
[/TD]
[TD]internal
[/TD]
[/TR]
[TR]
[TD]19231
[/TD]
[TD]5962-99
[/TD]
[TD]joe bloggs
[/TD]
[/TR]
[TR]
[TD]19231
[/TD]
[TD]54LS_TCX
[/TD]
[TD]fred smith
[/TD]
[/TR]
[TR]
[TD]19231
[/TD]
[TD]MC54HC
[/TD]
[TD]Joe Bloggs
[/TD]
[/TR]
[TR]
[TD]19232
[/TD]
[TD]XYZ78-9
[/TD]
[TD]internal
[/TD]
[/TR]
[TR]
[TD]19232
[/TD]
[TD]SN54LS
[/TD]
[TD]Jako
[/TD]
[/TR]
[TR]
[TD]19232
[/TD]
[TD]MC54LS
[/TD]
[TD]Beancounters
[/TD]
[/TR]
[TR]
[TD]19233
[/TD]
[TD]123456
[/TD]
[TD]generic
[/TD]
[/TR]
[TR]
[TD]19234
[/TD]
[TD]FE 9365
[/TD]
[TD]generic
[/TD]
[/TR]
[TR]
[TD]19234
[/TD]
[TD]KFKK44
[/TD]
[TD]Joe Bloggs
[/TD]
[/TR]
[TR]
[TD]19234
[/TD]
[TD]KKKD/WDFWD_9
[/TD]
[TD]Joe Bloggs
[/TD]
[/TR]
</tbody>[/TABLE]
So hopefully what we are trying to do for each line ID is show all of the part numbers that are associated with that Line ID. And the references that are associated with those part numbers.
Any help would be MASSIVELY appreciated!
With thanks
NEil