I have a form, AssetDetails with a button (cmdEquip) that opens another form, EquipmentDetail.
I have an if statement on the button that says if the AssetID is found in EquipmentDetails (table) then OpenForm EquipmentDetail, WHERE [Asset] = [ID], Edit, Dialog.
Else, OpenForm EquipmentDetail, WHERE [Asset] = [ID], Add, Dialog
The edit one works, filtering as expected, the add method gives me a blank form but Asset has not been assigned to the filter.
Any ideas why? How can I have the OpenForm Add use the filter to apply the value to that field?