Hello All,
I am trying to use a bound control to find a record by using the code from Microsoft Knowledge Base Article 210239. My problem is that my form is part of a tab form. The code works when I open the form not part of the tabbed control, but when I open the tabbed form and run the code I get an error “Run-time error ‘2455’: You entered an expression that has an invalid reference to the property Bookmark.”
The best I can think of is that because the form is in the Tab Control it is messing up the Bookmark. Strange though, I can do a combo box look-up using the Bookmark property and it works fine. I am trying to get away from using the combo box look up because the users do not use it before they try and add a new entry and the we get the duplicate error.
Any help would be appreciated. Thanks
I am trying to use a bound control to find a record by using the code from Microsoft Knowledge Base Article 210239. My problem is that my form is part of a tab form. The code works when I open the form not part of the tabbed control, but when I open the tabbed form and run the code I get an error “Run-time error ‘2455’: You entered an expression that has an invalid reference to the property Bookmark.”
The best I can think of is that because the form is in the Tab Control it is messing up the Bookmark. Strange though, I can do a combo box look-up using the Bookmark property and it works fine. I am trying to get away from using the combo box look up because the users do not use it before they try and add a new entry and the we get the duplicate error.
Any help would be appreciated. Thanks