Hi,
What configuration should be used to have both a counter and a unique ID? My current settings are as follows:
$db_key = 'Name';
$db_key_track = 0;
If I set $db_key_track=1, The counter puts the number in the 'Name' box. The db_refs are:
ID => [0, 'numer', 5, 8, 0, '', ''],
Division => [1, 'alpha', 0, 255, 1, '', ''],
Name => [2, 'alpha', 32, 40, 1, '', ''],
If you are wondering why the 'not_null' for the ID Field is set to '0', I wanted the input box for the Add_User Form to be hidden, to be seen only when viewed. However, when I set it to '1', an error message was given to users that the ID number was missing, so I changed it to '0' and turned the counter off.
What should the settings be to maintain both a hidden ID Field for users and a counter still dropping in numbers in the ID Field?
Melvin
What configuration should be used to have both a counter and a unique ID? My current settings are as follows:
$db_key = 'Name';
$db_key_track = 0;
If I set $db_key_track=1, The counter puts the number in the 'Name' box. The db_refs are:
ID => [0, 'numer', 5, 8, 0, '', ''],
Division => [1, 'alpha', 0, 255, 1, '', ''],
Name => [2, 'alpha', 32, 40, 1, '', ''],
If you are wondering why the 'not_null' for the ID Field is set to '0', I wanted the input box for the Add_User Form to be hidden, to be seen only when viewed. However, when I set it to '1', an error message was given to users that the ID number was missing, so I changed it to '0' and turned the counter off.
What should the settings be to maintain both a hidden ID Field for users and a counter still dropping in numbers in the ID Field?
Melvin