Solved: acces help

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

whschimmel

Thread Starter
Joined
Jul 7, 2008
Messages
168
I've got an database, in this database there are made some callnumbers

this number is create like this:

customer # + Year + Month + number, this results in:

851000-2008-09-00001 (without the '-')

I would like to change this number so it wil create sequence per dealer, so when a other dealer is selected, the number re-starts with 00001, like:

851006-2008-09-00001

can anybody help with this?

Tnx,

Wouter
 

Attachments

OBP

Joined
Mar 8, 2005
Messages
19,895
Wouter, is the current Number entered manually?
Are we talking about the Form called Form_Melding?
 

whschimmel

Thread Starter
Joined
Jul 7, 2008
Messages
168
when selecting a dealer (field 'Dealernaam') in the form: FORM_Melding, the callnumber is entered automaticly
 

OBP

Joined
Mar 8, 2005
Messages
19,895
Wouter, I recognise the Code now, I created it a while back, so you want to carry on Incrementing the Count if the Dealer is the Same, but if it is a New Dealer start back at 00001?
 

OBP

Joined
Mar 8, 2005
Messages
19,895
Try this version, I am sorry, I had to delete your Images from the Forms to make it small enough to post on here. I am sure that you can put them back.
 

Attachments

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Top