Hi,
I've set up a form (equipment_list) that pulls it's data from a query. I need to be able to specify the criteria for this query from a field on a number of different forms. I had it working by using the expression builder to set the value for the query criteria [form_name]![field_name]. The problem is that this was specific to the form I'd specified in the expression builder. I tried using the [me]![field_name] in the query but it wouldn't work - the form would ask for the Parameter Value for [me]![field_name]. The field_name will remain the same on all the different forms but I need the query criteria to refernce the active/open form. I hope this makes sense, I'd be more than happy to clarify anything as I'm quite desperate to sort this problem out. Thanks, in advance, for any suggestions.
I've set up a form (equipment_list) that pulls it's data from a query. I need to be able to specify the criteria for this query from a field on a number of different forms. I had it working by using the expression builder to set the value for the query criteria [form_name]![field_name]. The problem is that this was specific to the form I'd specified in the expression builder. I tried using the [me]![field_name] in the query but it wouldn't work - the form would ask for the Parameter Value for [me]![field_name]. The field_name will remain the same on all the different forms but I need the query criteria to refernce the active/open form. I hope this makes sense, I'd be more than happy to clarify anything as I'm quite desperate to sort this problem out. Thanks, in advance, for any suggestions.