C
chrisl
I've seen messages in the group, most recently last month, about adding
row numbers to a query. I'm looking to do the same but with a twist -
I've already sorted the data and have it in a query with no single
unique key field.
I'll give you my reasoning for numbering before someone questions my
motives. I use a label printing program that seems to change the order
of the data because it "sorts" based on one key field. My query in an
Access database does its sorting based on three fields. By having a
unique, numbered field would keep my data in the correct order for
printing.
I've seen other methods that rely on adding row numbers if the query
you're using queries a table directly. Well, my query culminates
several tables and other queries. My query does not have one unique
field - my data requires several fields to make a proper key.
I do have programmatic access to the database and can therefore program
something (Access 2003), however, I would like the label program to
trigger any function and then return the results through ODBC or OLE.
Is there any other methods out there that can help?
Thanks in advance if I'm beating a dead horse.
-Chris
row numbers to a query. I'm looking to do the same but with a twist -
I've already sorted the data and have it in a query with no single
unique key field.
I'll give you my reasoning for numbering before someone questions my
motives. I use a label printing program that seems to change the order
of the data because it "sorts" based on one key field. My query in an
Access database does its sorting based on three fields. By having a
unique, numbered field would keep my data in the correct order for
printing.
I've seen other methods that rely on adding row numbers if the query
you're using queries a table directly. Well, my query culminates
several tables and other queries. My query does not have one unique
field - my data requires several fields to make a proper key.
I do have programmatic access to the database and can therefore program
something (Access 2003), however, I would like the label program to
trigger any function and then return the results through ODBC or OLE.
Is there any other methods out there that can help?
Thanks in advance if I'm beating a dead horse.
-Chris