Counter problem

  • Thread starter Thread starter antonov
  • Start date Start date
A

antonov

hello everybody....
I have this mask in which I need a counter. This counter has to have the
number and the first 3 letters of the current month (i.e. 10/oct).
and has to be activated by a command button (when I am in a form and I click
on "new" this will open a new form and the counter will then jump to the
next available number).
How can I achieve this?
Thanks for any help
 
First, write a function that calculates the number part, assuming it's
unique, then set a text box's Default value to:
=YourFunction() & "/" & Format(Now(),"mmm")

Ray
 
Or

=YourFunction & Format(Date(), " \ \ m m m ")

(Remove all spaces between the quotes in the format function: Outlook
Express is too helpful: it converted it to a hyperlink without quotes!)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

counter 1
Trouble with VBA loop 5
How to return record counter to the zero position 4
Number Format 2
Reset counter in subform 3
Record Counter 2
Access 2003 - Joining number and text data 3
Creating a 'Counter' 2

Back
Top