Help About this

I have a form and i want a numbers generates authomatically from the field when i open the form and afte saving the number generates for 000-000-02 and more everytime when i save and open th form like this 000-000-01 when i save the form

000-000-02 when i open the form again and save

000-000-03 when i open the form again and save

please give me the code if you want to help me…

please…

thanks I appreciate all things you want gave me to me

Subject: Help About this

Well you obviously already have some code that’s working fine to assign the next number. Just change the code so that it first checks to see what’s in the field that you’re setting the number in. If there’s a valid number in there, then tell the code to skip the rest of the number assignment, otherwise carry on and add a number.

Either that, or set the code to run only if it’s a uidoc.IsNewDoc

Cheers,

Marion

Subject: RE: Help About this

where is the code???

Subject: RE: Help About this

How many times are you going to ask about this?http://www-10.lotus.com/ldd/nd6forum.nsf/DateAllThreadedweb/36aa405000334c47852573e50018a59f?OpenDocument

Maybe is time to take a Domino Designer class.

Or try writing the code yourself and see where you get.