G
Guest
newbie quetion, please have patience.
I'm trying to use VB to go through a table of bills of material and compare
the attributes of the end items with the attributes of it's components to be
sure they match.
IT sends me a text file with the BOMs, record 1 is end item #1 , next 40
records are #1's components. Record 41 is end item #2, next 40 records are
#2's compnonts etc, etc.
I imported this text file to a table with an autonumber field, end
item/component sequence is OK. (Access 2000)
Then tried using a make table query (to create a new table with extra fields
for errors) and loop through this new table to identify errors. When an
error is found - end item and offending component are written to the extra
fields.
Well ... I see now that the make table query doesn't preseve the record
sequence of the original table (right?) so my end item/compnent relationship
is lost.
My question is can I use VB to sort my new table to re-establish the record
sequence? Or should I start over with a better approach?
Many thanks
I'm trying to use VB to go through a table of bills of material and compare
the attributes of the end items with the attributes of it's components to be
sure they match.
IT sends me a text file with the BOMs, record 1 is end item #1 , next 40
records are #1's components. Record 41 is end item #2, next 40 records are
#2's compnonts etc, etc.
I imported this text file to a table with an autonumber field, end
item/component sequence is OK. (Access 2000)
Then tried using a make table query (to create a new table with extra fields
for errors) and loop through this new table to identify errors. When an
error is found - end item and offending component are written to the extra
fields.
Well ... I see now that the make table query doesn't preseve the record
sequence of the original table (right?) so my end item/compnent relationship
is lost.
My question is can I use VB to sort my new table to re-establish the record
sequence? Or should I start over with a better approach?
Many thanks