xollef
Technical User
- Apr 23, 2002
- 30
Hello
I have a mainform with a subform and I would like to have a button on the mainform with which creates duplicates of both forms records. Oh, a copy of all info into the new record, except the JobID that links the forms together.
It is because there can be similar Jobs but they should be recorded under different numbers.
I have got it so far that I used the button wizard to create the duplicate record function on the main form. It duplicates all info except the JobID that will get a new IDnr.
I can create a similar button on the subform that does the same thing but I can't get the one button on the mainform to duplicate both forms. How can this be done?
Thanks in advance.
I have a mainform with a subform and I would like to have a button on the mainform with which creates duplicates of both forms records. Oh, a copy of all info into the new record, except the JobID that links the forms together.
It is because there can be similar Jobs but they should be recorded under different numbers.
I have got it so far that I used the button wizard to create the duplicate record function on the main form. It duplicates all info except the JobID that will get a new IDnr.
I can create a similar button on the subform that does the same thing but I can't get the one button on the mainform to duplicate both forms. How can this be done?
Thanks in advance.