I have just set up DBMan and have hit a snag with the the key tracking. The database has 688 records, but when I set
$db_key_track = 1;
and try to add a new record the ID says 71.
Is the error in the database definitions?
%db_def = (
"ID" => [0, 'numer', 5, 8, 1, '', ''],
Newspaper => [1, 'alpha', 60, 255, 0, '', ''],
Location => [2, 'alpha', 60, 255, 0, '', ''],
Date => [3, 'alpha', 15, 20, 0, '', ''],
Title => [4, 'alpha', 12, 15, 0, '', ''],
Page_column => [5, 'alpha', 25, 255, 0, '', ''],
Author => [6, 'alpha', 25, 255, 0, '', ''],
Abstract => [7, 'alpha', '60x5', 1000, 0, '', ''],
Scan_serial => [8, 'alpha', 25, 100, 0, '', ''],
Page_URL => [9, 'alpha', 75, 500, 0,
'http://www.ceri.memphis.edu/compendium/compb/.html', '^http://'],
Scan_URL => [10, 'alpha', 75, 500, 0,
'http://www.ceri.memphis.edu/compendium/comp1b/images/.jpg', '^http://']
);
Thanks.
Kathy
$db_key_track = 1;
and try to add a new record the ID says 71.
Is the error in the database definitions?
%db_def = (
"ID" => [0, 'numer', 5, 8, 1, '', ''],
Newspaper => [1, 'alpha', 60, 255, 0, '', ''],
Location => [2, 'alpha', 60, 255, 0, '', ''],
Date => [3, 'alpha', 15, 20, 0, '', ''],
Title => [4, 'alpha', 12, 15, 0, '', ''],
Page_column => [5, 'alpha', 25, 255, 0, '', ''],
Author => [6, 'alpha', 25, 255, 0, '', ''],
Abstract => [7, 'alpha', '60x5', 1000, 0, '', ''],
Scan_serial => [8, 'alpha', 25, 100, 0, '', ''],
Page_URL => [9, 'alpha', 75, 500, 0,
'http://www.ceri.memphis.edu/compendium/compb/.html', '^http://'],
Scan_URL => [10, 'alpha', 75, 500, 0,
'http://www.ceri.memphis.edu/compendium/comp1b/images/.jpg', '^http://']
);
Thanks.
Kathy