![]() |
lewisgr author 5/8/2009 |
I thought i found something that would work but it didn't here it is: $dal->$tbl_uniqueid->Param["UniqueID"]=$values["UBinID"]; // Find the value in tbl_uniqueid that equal the value in UBinID Hello, After I add a record I want the Unique Id I assigned to go to the table where the dropdown is coming from and change 0 to -1. Tbl_uniqueID: UniqueAutoID (autonumber) UniqueID (primary key) Use (where the 0 or -1 is) DateForUse (the date on which the record can be used) I know i'll have to use the after add event but that about it. I'll keep at it but if anyone can help a little, it would really help. Thanks |
![]() |
lewisgr author 5/8/2009 |
Here the latest and of course it didn't work: global $conn;
|
J
|
Jane 5/11/2009 |
Hi, $dal->tbl_uniqueid->Param["UniqueID"]=$values["UBinID"]; $dal->tbl_uniqueid->Value["Use"]="-1"; $dal->tbl_uniqueid->Update(); |
![]() |
lewisgr author 5/11/2009 |
Hi Jane, global $dal;
Hi, please see my changes below: |
J
|
Jane 5/12/2009 |
It's difficult to tell you what's happening without seeing actual files. |