PDA

View Full Version : how to copy a record in the same table?


felix680
10-08-05, 04:56 PM
Hi,

I have developed a module called machines that keeps all particulars of all products. How can I modify the do_perms_cp and vw_usr_perms (I mean duplicate them in machines module) in admin module so as to enable the machines module to copy an existing record to a new one? For many cases, the particulars are just the same, but ofcourse not the ids and serial numbers. With this function, I can easily copy the record from another without inputing. Thank you in advance.

Felix
:?: