A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

automatic add number in form field



 
 
Thread Tools Display Modes
  #1  
Old October 8th, 2004, 02:29 PM
hermie
external usenet poster
 
Posts: n/a
Default automatic add number in form field

Hello I have an data entry form with a field called tasknumber. What I want
to do is that it automatics calculate the tasknumber. It would be something
like this:
find personsname and last tasknumber then new tasknumber = lasttasknumber +1

Hope I explained well my question

Is this possible?



  #2  
Old October 8th, 2004, 04:56 PM
[MVP] S.Clark
external usenet poster
 
Posts: n/a
Default

It is possible, but you may not want to do so in a multi-user enviroment, as
duplicates can occur.

I would do it with code, and retrieve the value from a table, that is locked
appropriately.

That, or just use an Autonumber.


--
Steve Clark, Access MVP
FMS, Inc.
www.fmsinc.com/consulting

"hermie" wrote in message
...
Hello I have an data entry form with a field called tasknumber. What I

want
to do is that it automatics calculate the tasknumber. It would be

something
like this:
find personsname and last tasknumber then new tasknumber = lasttasknumber

+1

Hope I explained well my question

Is this possible?





 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pre-populating a field in new form John Using Forms 2 October 1st, 2004 11:42 AM
Filtering on custom date field MED Contacts 3 September 17th, 2004 03:05 PM
Enter data in 1 text form field & have multiple locations filled i James General Discussion 4 August 12th, 2004 10:02 PM
auto entry into second table after update Tony New Users 13 July 9th, 2004 10:42 PM
Recordset in subform based on field in parent form Lyn General Discussion 15 June 14th, 2004 03:10 PM


All times are GMT +1. The time now is 02:35 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.