Hi,
I have been re-creating a database because of another problem that I encounted which I have already posted in this forum.
The problem is two fold:
Firstly on creating a text box in my form and choosing the on lost focus event to enter in some code, the lost focus event displays the lost focus event for another field in another form, which is strange!! So on double clicking the form in the Project window and then selecting my required text box object, entering my code and then saving it, in the properties view the On Lost Focus property does not display the "[Event Procedure]" indicator!!
So on going back into the On Lost Focus property it again jumps to the On Lost Focus event of another form field object!! I then do as I did above and the code that I had written is present in the correct event of the field object I want, but again it still does not show up in the properties window.
I think the above may be the cause of the next problem, as I thought that maybe it might still work.
In my main form I have fields that reference my subform as follows:
=[Forms]![frmQADocumentCheck]![SubFormQualityAssuranceCheck].Form!txtGrandTotalCorrectFields
When I open up the main form the following message appears:
Microsoft Access
A problem occurred while Microsfot Access was communicating with the OLE server or ActiveX Control.
Close the OLE server and restart it outside of Microsoft Access. Then try the original operation again in Microsoft Access.
As far as I'm aware we don't have an OLE Server, so I'm a bit confused here as to what Access is telling me.
I checked all the References that I have, which are as follows:
Visual Basic For Applications
Microsoft Access 9.0 Object Library
OLE Automation
Microsoft ActiveX Data Objects 2.1 Library
Microsoft DAO 3.6 Object Library
Micorsoft Scripting Runtime
I've done a search in this forum, but haven't found anything that addresses this problem.
Any suggestions or advice would be appreciated.
John
I have been re-creating a database because of another problem that I encounted which I have already posted in this forum.
The problem is two fold:
Firstly on creating a text box in my form and choosing the on lost focus event to enter in some code, the lost focus event displays the lost focus event for another field in another form, which is strange!! So on double clicking the form in the Project window and then selecting my required text box object, entering my code and then saving it, in the properties view the On Lost Focus property does not display the "[Event Procedure]" indicator!!
So on going back into the On Lost Focus property it again jumps to the On Lost Focus event of another form field object!! I then do as I did above and the code that I had written is present in the correct event of the field object I want, but again it still does not show up in the properties window.
I think the above may be the cause of the next problem, as I thought that maybe it might still work.
In my main form I have fields that reference my subform as follows:
=[Forms]![frmQADocumentCheck]![SubFormQualityAssuranceCheck].Form!txtGrandTotalCorrectFields
When I open up the main form the following message appears:
Microsoft Access
A problem occurred while Microsfot Access was communicating with the OLE server or ActiveX Control.
Close the OLE server and restart it outside of Microsoft Access. Then try the original operation again in Microsoft Access.
As far as I'm aware we don't have an OLE Server, so I'm a bit confused here as to what Access is telling me.
I checked all the References that I have, which are as follows:
Visual Basic For Applications
Microsoft Access 9.0 Object Library
OLE Automation
Microsoft ActiveX Data Objects 2.1 Library
Microsoft DAO 3.6 Object Library
Micorsoft Scripting Runtime
I've done a search in this forum, but haven't found anything that addresses this problem.
Any suggestions or advice would be appreciated.
John