I am attempting to allow users to add records returned from one database to another using links. I have the query string set as below:
<a href="$db_script_url?db=interface&add_record=1&uid=$db_uid&ID=???&Code=$rec{'Code'}">
The "ID=???" is the part I am unable to work out. The "ID" field must be autoincrementing and I have set the Config file correctly to this end. With what code (DBMan variable) can I replace the "???" in order to place the next value from default.count into the ID field of the database I am adding the record to?
Thanx in advance
<a href="$db_script_url?db=interface&add_record=1&uid=$db_uid&ID=???&Code=$rec{'Code'}">
The "ID=???" is the part I am unable to work out. The "ID" field must be autoincrementing and I have set the Config file correctly to this end. With what code (DBMan variable) can I replace the "???" in order to place the next value from default.count into the ID field of the database I am adding the record to?
Thanx in advance