G
Guest
I would like to have an incremental ID Number created by a query EG.:
ID product
R1000-1 xyz
R1000-2 fre
R1000-3 abc
Thanks
ID product
R1000-1 xyz
R1000-2 fre
R1000-3 abc
Thanks
Tom Ellison said:Dear Fred:
From your example, it looks like you want to assign numbers according
to the values in the [product] column in descending order. Please
confirm that.
Next, it appears that all numbers start with "R1000-" followed by a
one digit sequence number that starts from 1. Is that correct?
Do you want these numbers generated dynamically at the moment the
query is run? Or do you want them assigned permanently once they've
been generated?
Is the product column unique?
If you'll answer these questions and give a bit of narrative about
what is going on behind this requirement, perhaps I can help.
Tom Ellison
Microsoft Access MVP
Ellison Enterprises - Your One Stop IT Experts
I would like to have an incremental ID Number created by a query EG.:
ID product
R1000-1 xyz
R1000-2 fre
R1000-3 abc
Thanks
I have two tables.
one is a reference header (unique number like an invoice header)
ID
eg.: R1000
R1001
R1002
and the other one is a shipped product table with the reference to the header
HDRID Product
EG.: R1000 XYZ
R1000 FRE
R1000 ABC
R1001 GTR
R1001 GTX
ETC ....
I'm doing a query inner join [Shippedproduct] on [REFHDR].ID =
[Shippedproduct].ID and I would like the reference (R1000) be dynamically
incremented with a -1,-2,-3 .... ETC. and then drop all the record into a
table
Thanks
FRED
Tom Ellison said:Dear Fred:
From your example, it looks like you want to assign numbers according
to the values in the [product] column in descending order. Please
confirm that.
Next, it appears that all numbers start with "R1000-" followed by a
one digit sequence number that starts from 1. Is that correct?
Do you want these numbers generated dynamically at the moment the
query is run? Or do you want them assigned permanently once they've
been generated?
Is the product column unique?
If you'll answer these questions and give a bit of narrative about
what is going on behind this requirement, perhaps I can help.
Tom Ellison
Microsoft Access MVP
Ellison Enterprises - Your One Stop IT Experts
I would like to have an incremental ID Number created by a query EG.:
ID product
R1000-1 xyz
R1000-2 fre
R1000-3 abc
Thanks
Tom Ellison said:Dear Fred:
From your example, it looks like you want to assign numbers according
to the values in the [product] column in descending order. Please
confirm that.
Next, it appears that all numbers start with "R1000-" followed by a
one digit sequence number that starts from 1. Is that correct?
Do you want these numbers generated dynamically at the moment the
query is run? Or do you want them assigned permanently once they've
been generated?
Is the product column unique?
If you'll answer these questions and give a bit of narrative about
what is going on behind this requirement, perhaps I can help.
Tom Ellison
Microsoft Access MVP
Ellison Enterprises - Your One Stop IT Experts
I would like to have an incremental ID Number created by a query EG.:
ID product
R1000-1 xyz
R1000-2 fre
R1000-3 abc
Thanks