Thanks cmmrfrds for your comments...With a bit of reading I have found out that I can now Add a Property using
CurrentProject.Properties.Add "PropertyName","PropertyValue"
Property Value can be an Integer, String or Boolean
I can then read the Property Added Using...
I have been using Custom Database Properties with Access 97 and 2000 with no problems but my code no longer works when I use it in an Access Project.
The code is as follows to get the value of TestingYesNo which is a Boolean value
Dim dbs As Database
Dim doc As Document
Dim...
I think my problem was partly due to trying to setfocus in the 'Before Update Event'. I notice a
thread705-438569 "Setfocus doesn't work in After Update" may be a similar problem to mine.
To test my code out I have created a button on the form and used the following code in the...
Thanks FancyPrairie and ssecca for your speedy responses. I have tried both of your suggestions but as yet haven't got either to work. I have had no problem in the past with mainform/subform/combobox setfocus but with the tab control/pages I cannot get it to work. Any other ideas ????
Under certain conditions as part of a validation procedure I want to use the Before Update event on a form to set the focus on a combobox that is on a subform, on a page, on a tab control, on a form.
I assume I need to setfocus on the tab control first, then the page, then the subform control...
I am writing an application (A2K)and applying a filter to a form from the selection from a combo box "SelectContact" with the following code
DoCmd.ApplyFilter , "ContactID= Forms!frmContactMaintenance!SelectContact"
This works fine on my PC and another PC but not on a third...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.