N
|
nix386 8/21/2008 |
if you insert the value for task_id (autonumber) into task_parent (int) when adding or updating a record isn't that double handling? |
|
stanl author 8/21/2008 |
if you insert the value for task_id (autonumber) into task_parent (int) when adding or updating a record isn't that double handling? just trying to get an idea of what is it that you are trying to accomplish?
|
J
|
Jane 8/21/2008 |
Stan, global $conn,$strTableName; $id = mysql_insert_id(); $strUpdate = "update ".$strTableName." set task_parent=".$id." where task_id=".$id; db_exec($strUpdate,$conn); |
|
stanl author 8/21/2008 |
Stan, you can update your table and fill task_parent field in the After record added event on the Events tab. Here is a sample:
|
J
|
Jane 8/22/2008 |
Stan, |