This topic is locked

variable auto increment

11/29/2010 9:24:27 AM
PHPRunner General questions
P
pidejean author

Dear all,
In my example "Num" is field in my table. It's possible to increment the field when adding a new record like this:
num01

num02

num03

num04

...
Please help me!
Thanks

Sergey Kornilov admin 11/29/2010

If you use MySQL you can make this file AUTOINCREMENT.

http://dev.mysql.com/doc/refman/5.0/en/example-auto-increment.html
If you need a bit more complicated calculation use BeforeAdd event to calculate the next number there.