Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Autonumber

Status
Not open for further replies.

wendyowens

Programmer
Jan 27, 2003
9
0
0
US
I have a form I am creating in Ultradev. I would like when the user clicks on add new record, for the Log No. to automatically populate with the next available number? How do I do this in Ultradev?
Any help is greatly appreciated.
Thanks
 
[tt]

Normally you would not wan to show the next number to the user(s). Let present to you this posibility

Say your database is currently at number 566 then 2 users press new record at the same time? will you allow your users to belive their individual entries will be 567 ? or how will you handle this?

then again, if you only have one user accessing the database at a time, forget what I just said...
* * * * * * * * * * *
<%=Tony%>
cold.gif

 
What you need to do set an ID field in the database to Autonumber not in Ultradev.

Cheech [Peace][Pipe]
The secret of life is honesty and fair dealing. If you can fake that, you've got it made.
Groucho Marx (1895-1977)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top