I have an Access database and need to generate an Invoice number in the following way:
"RPI"("YYMM"
000 (Autoincrease)= for example:"RPI0306000" for the first invoice generated on June 2003. RPI0306001 (for the second, etc, etc...)
ok, let me explain what this means: RPI should be default (I know how to do that) the problem begins when I want to enter the Year and the Month. I don't want the system to determine these based on the current date. I want these to be determined based on the date I INPUT. How? there is a field called DATE on the database. I want to use the data inputed there and then add a "000" for the first invoice that month "001" for the second "002" for thethird, so on and so forth..
Does anyone know how can I do this?
Please help me if you do.
Thanks.
HBG6
"RPI"("YYMM"
ok, let me explain what this means: RPI should be default (I know how to do that) the problem begins when I want to enter the Year and the Month. I don't want the system to determine these based on the current date. I want these to be determined based on the date I INPUT. How? there is a field called DATE on the database. I want to use the data inputed there and then add a "000" for the first invoice that month "001" for the second "002" for thethird, so on and so forth..
Does anyone know how can I do this?
Please help me if you do.
Thanks.
HBG6