J
jladiaz
Hi everybody! Let´s see if anybody knows how to do this.
I have an ms-access table where i need to combine 2 fields in another.
That
resulting field will be the primary key.
I´ve seen some debates about this topics and i realize isn´t very
difficult but here comes the harder part (for me).
I need the second field to be an autoincrement field depending on the
first.
EXAMPLE:
Field 1: Brand (It could be A, B or C)
Field 2: Number (Will increment depending of the last value of the
brand)
Field 3: Brand-Number
If the last A brand introduced was BRAND A-3, Then when I select the A
brand to assing it to another (a new) register the "Number" field
should
automatically display 4, and the "Brand-Number" field should display
"A-4".
DO U GET ME? Do u need me to be more specific at anything? LET ME
KNOW...
I hope one of u could please HELP ME!
Specific Questions:
- WHERE and WHAT do I have to write for the second field "Number" to
acomplish that behavior??
- WHERE and WHAT do I have to write for the Third Field "Brand-Number"
to join the information from fields 1 and 2??
Thanks in advance!
I have an ms-access table where i need to combine 2 fields in another.
That
resulting field will be the primary key.
I´ve seen some debates about this topics and i realize isn´t very
difficult but here comes the harder part (for me).
I need the second field to be an autoincrement field depending on the
first.
EXAMPLE:
Field 1: Brand (It could be A, B or C)
Field 2: Number (Will increment depending of the last value of the
brand)
Field 3: Brand-Number
If the last A brand introduced was BRAND A-3, Then when I select the A
brand to assing it to another (a new) register the "Number" field
should
automatically display 4, and the "Brand-Number" field should display
"A-4".
DO U GET ME? Do u need me to be more specific at anything? LET ME
KNOW...
I hope one of u could please HELP ME!
Specific Questions:
- WHERE and WHAT do I have to write for the second field "Number" to
acomplish that behavior??
- WHERE and WHAT do I have to write for the Third Field "Brand-Number"
to join the information from fields 1 and 2??
Thanks in advance!