Normal Topic [Solved] Need reminder code for making numbers + 1 (Read 290 times)
esgage
Junior Member
**
Offline


No personal text

Posts: 55
Joined: Dec 8th, 2005
[Solved] Need reminder code for making numbers + 1
Mar 4th, 2008 at 8:03pm
Print Post Print Post  
To whom it may concern:

I lost my code for making sequential numbers. Please resend the program example. I have a number that I want increased by 1 if a certain sequence exists.

For example, I have a field labeled "Certificate Number" I would like this to increase by 1 each time if the question in another field "Bearing Y/N" is labeled "Y".

So it would read something like if BearingYN = "Y" Then
{
??
}

I know this has been covered in the past, but I cannot find any examples.

Thank you,

Kevin E & S Gage
« Last Edit: Mar 6th, 2008 at 2:06pm by Hammer »  
Back to top
 
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Need reminder code for making numbers + 1
Reply #1 - Mar 4th, 2008 at 8:13pm
Print Post Print Post  
Try one of these methods.

Assign Next Number Using @XLookupR
Assign Next Number Using a Global Value

There are a number of these kinds of techniques available in the Sesame Library.
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged