This will not work because it is looking for existing records, not populating fields.
In the form's On Open event, I think, take values from the parent form that is already open:
(Me.) = the new form...
Me.CustomerID = [Forms]![frmParentForm].[CustomerID]
Me.TroubleTicketID = [Forms]![frmParentForm].[TroubleTicketID]
If the form is set to open on a new record, this should auto populate the fields.
Did this help?
mmcdonal
|