Serializing a field
Serializing a field
can any one help me on how to make a field accept number input serially. For instance if serial number of a preceding record is 3, the field should accept 4 as the next record else error msg should request a re entry as serial number 4.
Re: Serializing a field
Hi Mozum,
Please consider using autoincrement item. For error message, please try visualvalue function with this idea:
[/i]
Best regards,
Please consider using autoincrement item. For error message, please try visualvalue function with this idea:
Code: Select all
if item value<> visualvalue (previous item value)-1 then
errmsg();
Best regards,
G.VOLNY, a CSProuser from Haiti, since 2004
Re: Serializing a field
Thanks alot for the guide. but I could not access the author increamental field to check it. I try to do so by right clicking on the field and selecting field property. But it display among other items 'sequential' which is unselectable. can I still learn from you how to display this.
Re: Serializing a field
Only numeric fields are allowed to have autoincrement attribute. Please check your dictionary and make sure that the item is numeric type and not alpha
-
- Posts: 1796
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: Serializing a field
Auto increment fields can only be ID fields. If you want to increment a non-ID field, you might consider using the loadsetting/savesetting function to store the value associated with the previously entered case.