how to make auto numbering for an ID?
but id has been given an initial value,
examples of initial value: 100027
how to make the ID is automatically incremented by 1?
thanks,
vividiah 0 Junior Poster in Training
Recommended Answers
Jump to Postso what problem you are facing now ....?
Jump to Poststill i don't understand the exact problem as you didn't specify the problem.
But try thisinitialise the value for id (which is in recordset) to a variable. ok.
and you can do it very easily likeidvar=rec("Field_Name")
now increment the value of idvar by 1 .
for this , …
Jump to Postdid you use
idvar=idvar+1
for example :- the initial value you determine is 101 then first initialise 101 toidvar
then increment theidvar
by 1 as above.if still facing problems then don't be hesitate and ask your query freely
All 12 Replies

Rahul47
vividiah 0 Junior Poster in Training

Rahul47
vividiah 0 Junior Poster in Training
rishif2 57 Posting Whiz in Training
vividiah 0 Junior Poster in Training
rishif2 57 Posting Whiz in Training
vividiah 0 Junior Poster in Training
rishif2 57 Posting Whiz in Training
vividiah 0 Junior Poster in Training
rishif2 57 Posting Whiz in Training
vividiah 0 Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.