Sending parameter after delete
I have a delete routine that displays contents of a record. Two buttons - CANCEL & CONFIRM DELETE. The cancel allows me to send a parameter with the header("Location ...) and all is well. When I choose confirm delete, the record is deleted, but the value of the parameter is cleared. I have set the parameter to a value in the record WHEN THE RECORD IS READ. Nothing in the delete routine changes the independent value, but it gets cleared when the record is deleted. Is there any way to preserve a value in the record before it's deleted? I have a table with a large # of records. After deleting, I want to return to the display of the selected subset.
I'm setting a variable $CycleYear = $r_Cycle_Year which is set when the field r_Cycle_Year is bound to $r_Cycle_Year. Why does $CycleYear get cleared when the record is deleted? I understand that all record values are undefined after deletion, but why can't I preserve a value for use as a parameter?
Thanks for any advice!
