Hello,
I have a series of 9 identical tables which are linked as text files to my Access database. The content of these tables is manually pasted each day to the table from an external application which delivers the data in an inconvenient way: duplicate values are not repeated, eg if in the first column is the supplier name it appears once then for all the rest of the lines where the products are from that supplier the supplier name is blank. The second column is the product id and the same thing occurs.
I have written a union query to join all the tables together but the order of the lines is jumbled up which of course renders the data meaningless. I am unable to recreate the original order of the data through sorting so I am trying to add an autoincrement field to the union query. The plan would be that I would then be able to keep each of the tables in exactly its original order.
Can anybody explain to me how to do this?
By the way I also tried to add an auto-increment field to the link specification but I couldn't work out how to do that either - if that is an easier solution then I would be happy to learn how to do it.
I have a series of 9 identical tables which are linked as text files to my Access database. The content of these tables is manually pasted each day to the table from an external application which delivers the data in an inconvenient way: duplicate values are not repeated, eg if in the first column is the supplier name it appears once then for all the rest of the lines where the products are from that supplier the supplier name is blank. The second column is the product id and the same thing occurs.
I have written a union query to join all the tables together but the order of the lines is jumbled up which of course renders the data meaningless. I am unable to recreate the original order of the data through sorting so I am trying to add an autoincrement field to the union query. The plan would be that I would then be able to keep each of the tables in exactly its original order.
Can anybody explain to me how to do this?
By the way I also tried to add an auto-increment field to the link specification but I couldn't work out how to do that either - if that is an easier solution then I would be happy to learn how to do it.