How do i make the key field on this generator to have a counter
Aug 22, 2002, 11:34 PM
Veteran / Moderator (3034 posts)
Aug 22, 2002, 11:34 PM
Post #2 of 2
Views: 2700
The configurator has changed somewhat and I haven't used it for awhile, but if created a field called, for instance, "ID". then you can simply change the following in your .cfg file to designate the key field.
# The column name for the database key. Can be any column, but it must be unique!
# You can't have two records with the same key value!
$db_key = 'ID';
$db_key_track = 1; # Track the key?
Hope this helps
Unoffical DBMan FAQ
http://creativecomputingweb.com/dbman/index.shtml/
# The column name for the database key. Can be any column, but it must be unique!
# You can't have two records with the same key value!
$db_key = 'ID';
$db_key_track = 1; # Track the key?
Hope this helps
Unoffical DBMan FAQ
http://creativecomputingweb.com/dbman/index.shtml/