I've got a form Frmexpenses based on Tblexpenses. Each record can be allocated to a property, a property group or a landlord. there's a qryPropUnion which puts together all of them, and on the Frmexpenses I've based a combobox CmbProp on this Union query. The second column in the union query has the landlord for the property/property group and is repeated when Landlord is in the first column too.
I now want to filter this form based on the landlord. I created an unbound textbox on the form which gets updated with CmbProp.column(1).
I've set Frmexpenses as a subform on a new form, and got an unbound textbox with all Landlords. When I select a Landlord I want the subform to filter, by the unbound text box Landlord, but it is asking for a parameter Landlord, and the subform is coming up blank.
How do I go about filtering?
I now want to filter this form based on the landlord. I created an unbound textbox on the form which gets updated with CmbProp.column(1).
I've set Frmexpenses as a subform on a new form, and got an unbound textbox with all Landlords. When I select a Landlord I want the subform to filter, by the unbound text box Landlord, but it is asking for a parameter Landlord, and the subform is coming up blank.
How do I go about filtering?