I have a form set to Single record view. To help my users find a specific record I set up a combo box using the Combo Box Wizard and then selecting the "Find a record on my form based on the value I selected in my combo box" selection. I finished creating the ComboBox.
Here is the embedded macro that was created by the wizard:
SearchFor Record
Object Type (Blank)
Object Name (Blank)
Record First
Where Condition ="[ID] = " & Str(Nz([Screen].[ActiveControl],0))
After saving and opening the form in Form View...everything works. When I make a selection with the combo box that record shows on the form.
When I save and close the DB and then reopen it and then make a selection on the combo box I get this message:
Object or class does not support the set of events "OK"
When I select OK it shows the macro in single step showing:
Macro Name: Tasks Form:Combo98:AfterUpdate:Embedded Macro
Condition (Blank)
Action Name: SearchForRecord Error 2950
Arguments:
-1, , First, ="[ID] = "& Str(Nz([Screen].[ActiveControl], 0))
I checked Error 2950, on the WEB, and set the location of the DB as a trusted site. This did not fix the problem.
Any Suggestions?
Here is the embedded macro that was created by the wizard:
SearchFor Record
Object Type (Blank)
Object Name (Blank)
Record First
Where Condition ="[ID] = " & Str(Nz([Screen].[ActiveControl],0))
After saving and opening the form in Form View...everything works. When I make a selection with the combo box that record shows on the form.
When I save and close the DB and then reopen it and then make a selection on the combo box I get this message:
Object or class does not support the set of events "OK"
When I select OK it shows the macro in single step showing:
Macro Name: Tasks Form:Combo98:AfterUpdate:Embedded Macro
Condition (Blank)
Action Name: SearchForRecord Error 2950
Arguments:
-1, , First, ="[ID] = "& Str(Nz([Screen].[ActiveControl], 0))
I checked Error 2950, on the WEB, and set the location of the DB as a trusted site. This did not fix the problem.
Any Suggestions?