spidermman
10-24-2008, 11:27 PM
hi,
i have a form named "sales order form" in my access database.
i would like to have a command button which upon click will create another form of the same template in "sales order form".
i tried this:
Private Sub Command2_Click()
Dim frm As Form
Set frm = CreateForm(, "sales order form")
End Sub
However, it ends up creating a new normal form instead of the "sales order form".
Does anyone knows how to create duplicate copy of the same form?
thanks.
i have a form named "sales order form" in my access database.
i would like to have a command button which upon click will create another form of the same template in "sales order form".
i tried this:
Private Sub Command2_Click()
Dim frm As Form
Set frm = CreateForm(, "sales order form")
End Sub
However, it ends up creating a new normal form instead of the "sales order form".
Does anyone knows how to create duplicate copy of the same form?
thanks.