G
Guest
I have a continuous form of 'Customer' records, each with three controls:
customer name, customer type ID, and segment ID. The ID fields are
multi-value, with column 1 bound in each case. I attached a macro to the 'On
Double Click' action of the 'Customer Name' control to open one of two forms
depending on the value of 'CustomerTypeID'.
Macro conditions are: [CustomerTypeID]=1 OR 2, then open form A. Next
line/condition is [CustomerTypeID]=3, then open form B.
On the 'customers' form, when I double-click 'Customer Name' form A opens
even when [CustomerTypeID]=3.
I have recreated forms and queries, checked the data in tables, and revised
the conditions in a variety of ways but can't seem to figure it out. Is it
possible that the continuous form is the problem...that the macro sees
multiple occurences of [CustomerTypeID]? I'm assuming not.
What am I overlooking...please?
customer name, customer type ID, and segment ID. The ID fields are
multi-value, with column 1 bound in each case. I attached a macro to the 'On
Double Click' action of the 'Customer Name' control to open one of two forms
depending on the value of 'CustomerTypeID'.
Macro conditions are: [CustomerTypeID]=1 OR 2, then open form A. Next
line/condition is [CustomerTypeID]=3, then open form B.
On the 'customers' form, when I double-click 'Customer Name' form A opens
even when [CustomerTypeID]=3.
I have recreated forms and queries, checked the data in tables, and revised
the conditions in a variety of ways but can't seem to figure it out. Is it
possible that the continuous form is the problem...that the macro sees
multiple occurences of [CustomerTypeID]? I'm assuming not.
What am I overlooking...please?