This topic is locked

FILED SET UP

7/17/2011 8:28:01 AM
PHPRunner General questions
F
futo author

Hello,
I have filed in database table in which is stored Invoice number.

The field is set in database (MySQL) like double, Size = 6 Max.lenght=6 and in custom view is set to displayed without decimal places

$value = number_format($value, 0, '', '');.
I want to on add page to be displayed a number greater for 1 than in the previous record in the same field.(+1)
Simply put AUTOMATICALLY assigned number one higher than it is in the previous record the same field.
Thanks...
Tomo

Croatia