G
Guest
Hi,
I have an orderDB base on the NorthwindDB. In the orders form I would like
to have a button witch creates a new post in the main form, and also set some
of the records in the subform (orderdetails --> itemID, quantity, price etc).
In thw Onclick-event in the new-post-button I've tried to use :
With Me.orderdetails_subform.Form.RecordsetClone
.AddNew
!itemID = "39999"
!quantity = "1"
!price = "185"
End With
But I can't get it work.
I'm a newbee in vb-coding...
I have an orderDB base on the NorthwindDB. In the orders form I would like
to have a button witch creates a new post in the main form, and also set some
of the records in the subform (orderdetails --> itemID, quantity, price etc).
In thw Onclick-event in the new-post-button I've tried to use :
With Me.orderdetails_subform.Form.RecordsetClone
.AddNew
!itemID = "39999"
!quantity = "1"
!price = "185"
End With
But I can't get it work.
I'm a newbee in vb-coding...