This topic is locked

Retrieving record key in AfterEdit event

12/18/2006 3:26:09 PM
ASPRunnerPro General questions
B
berkeleyjw author

Since upgrading to version 4.1, I can no longer use GetRequestForm("editid") in the AfterEdit event to retrieve the key field of the current record. Please let me know how to access the key of the record that was just edited. I tried including the key field on the edit page in read-only mode and then used dict("<keyfieldname>") but that did not work. Thanks.

B
berkeleyjw author 12/18/2006

I was able to get it to work like this : GetRequestForm("editid1") . Is this what we should use?

J
Jane 12/19/2006

Jim,
yes, in the ASPRunnerPro 4.1 you should use GetRequestForm("editid1") for the first primary key field, GetRequestForm("editid2") for the second primary key field and etc.