I need a push button method of cloning a record. I want to give my end user a simple form to choose a record by choosing the name of an agent from a drop down, click a button which should copy that record from the underlying table and then present two text boxes that are populated from the new record for modification before saving the record.
I actually have a related table that also needs a new record copied from the relevant one to a new one, only updating the related field.
Kind of hard to grasp the how to of this. I think after they have nade a choice and click the copy button I need to store the combobox value (which is actually the related field)in a variable, copy the record from tblagent, paste append it to the same table, display the two text boxes(probably on a new form, with a finish button). Once they make the changes the finish button would save the new record, copy the record related to the original agent(stored in the variable) from tblBuyrate, do another paste append and then update the related field with the new data.
I can think through how to do some of this, but I'm not sure if this is the best way to go about this. I would welcome any suggestions. Thanks,
Ken
I actually have a related table that also needs a new record copied from the relevant one to a new one, only updating the related field.
Kind of hard to grasp the how to of this. I think after they have nade a choice and click the copy button I need to store the combobox value (which is actually the related field)in a variable, copy the record from tblagent, paste append it to the same table, display the two text boxes(probably on a new form, with a finish button). Once they make the changes the finish button would save the new record, copy the record related to the original agent(stored in the variable) from tblBuyrate, do another paste append and then update the related field with the new data.
I can think through how to do some of this, but I'm not sure if this is the best way to go about this. I would welcome any suggestions. Thanks,
Ken