N
|
nix386 6/9/2010 |
I'm no expert and could be wrong but something like this should do the trick?
Hi, I need to get the current ID (Primary Key)of a record of just created - say 45 and insert it into another table. This key (45) will have everything related to in the new field that has the ID 45 assosiated with it. I have basically produced an invoiceing system (almost) and the new table would be called invoice items. Any PHP ideas welcome. I have no doubt overlooked the obvious! thanks in advance. |
J
|
Jane 6/10/2010 |
Hi, $keys["FieldName"]
|
T
|
Tempus_Erus author 6/10/2010 |
Hi, keys values are stored in the $keys array in the After record added event on the Eventstab. You can use following variable in your code: $keys["FieldName"]
|