Hi
I have a stock items in the database that I want to duplicate over and over (all but a few fields are the same e.g. same thing but different size and price)
I want to a command buttong to open a new record in the "add new" form (frmTicketing) and enter the stock item with the same information bar some fields. So far i have:
I have a stock items in the database that I want to duplicate over and over (all but a few fields are the same e.g. same thing but different size and price)
I want to a command buttong to open a new record in the "add new" form (frmTicketing) and enter the stock item with the same information bar some fields. So far i have:
Code:
Private Sub Command47_Click()
On Error GoTo Err_Command47_Click
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 2, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 5, , acMenuVer70 'Paste Append
Me.StockNumber = Null
Me.CV_Code = Null
Me.txtLFeet = Null
Me.txtLInches = Null
Me.InvoiceNumber = Null
Me.InvoiceTotal = Null
Me.Salesman = Null
Exit_Command47_Click:
Exit Sub
Err_Command47_Click:
MsgBox Err.Description
Resume Exit_Command47_Click
End Sub