Normal Topic @number resetting (Read 492 times)
Bharat_Naik
Senior Member
Members
*****
Offline


Ever ready to learn and
share

Posts: 1202
Location: Chicago,  Illinois
Joined: Dec 16th, 2003
@number resetting
Jan 29th, 2004 at 3:12pm
Print Post Print Post  
@number restting can only be  be done through sdesigner as far as I know.  Is there any way to be able to do it from Sesame itself?
  
Back to top
 
IP Logged
 
The Cow
YaBB Administrator
*****
Offline



Posts: 2530
Joined: Nov 22nd, 2002
Re: @number resetting
Reply #1 - Jan 29th, 2004 at 3:52pm
Print Post Print Post  
Done on purpose so it could not be reset accidentally easily. You can reset it using the "step value" argument to @number passing the original value negated:

var nn as int
var num as int

nn = @number(0)
num = @number(-nn)

This would probably be best in a single record mass update.
  

Mark Lasersohn&&Programmer&&Lantica Software, LLC
Back to top
IP Logged