UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome to UtterAccess! Please ( Login   or   Register )

Custom Search
 
   Reply to this topicStart new topic
> On Current Error, Access 2016    
 
   
dg_moore
post Jul 8 2019, 05:41 PM
Post#1



Posts: 322
Joined: 22-April 11



When opening one of my forms I'm getting "The expression OnCurrent you entered as the event property setting produced the following error... communication with the OLE server or ActiveX control"

I have combed through the form's module and there is no reference to an On Current event anywhere. Can anybody tell me how to start tracking this down?

Thanks
This post has been edited by dg_moore: Jul 8 2019, 06:19 PM
Go to the top of the page
 
theDBguy
post Jul 8 2019, 07:09 PM
Post#2


Access Wiki and Forums Moderator
Posts: 76,081
Joined: 19-June 07
From: SunnySandyEggo


Hi. Can we help you look? Are you able to post a sample copy of the database with the problem here?

--------------------
Just my 2 cents... "And if I claim to be a wise man, it surely means that I don't know" - Kansas
Access Website | Access Blog | Email
Go to the top of the page
 
Doug Steele
post Jul 8 2019, 07:43 PM
Post#3


UtterAccess VIP
Posts: 22,184
Joined: 8-January 07
From: St. Catharines, ON (Canada)


If you look at the Properties tab for the form, does anything show up for the On Current property (on the Events tab) for the form?

--------------------
Doug Steele, Microsoft Access MVP (2000-2018)
Personal webpage
Microsoft profile
Co-author: Access Solutions: Tips, Tricks, and Secrets from Microsoft Access MVPs, published by Wiley
Co-author: Effective SQL: 61 Specific Ways to Write Better SQL, published by Addison-Wesley Professional
Technical Editor: Access 2010 Bible, Access 2013 Bible, Access 2016 Bible, all published by Wiley
Technical Editor: SQL Queries for Mere Mortals: A Hands-On Guide to Data Manipulation in SQL, 4th Edition, published by Addison-Wesley Professional
Go to the top of the page
 
dale.fye
post Jul 9 2019, 08:36 AM
Post#4



Posts: 150
Joined: 28-March 18
From: Virginia


You might also want to try compiling the application and resolving any compile errors.

--------------------
Dale Fye
Microsoft Access MVP 2013-2016
Developing Solutions, LLC
Go to the top of the page
 
dg_moore
post Jul 10 2019, 07:45 AM
Post#5



Posts: 322
Joined: 22-April 11



Yup, after looking high and low I couldn't find any apparent cause for the problem. The accdb was compiled, but it finally occurred to me to decompile/recompile and that did the trick.

Thanks to all
This post has been edited by dg_moore: Jul 10 2019, 07:46 AM
Go to the top of the page
 
theDBguy
post Jul 10 2019, 09:57 AM
Post#6


Access Wiki and Forums Moderator
Posts: 76,081
Joined: 19-June 07
From: SunnySandyEggo


Hi. Glad to hear you got it sorted out. Good luck with your project.

--------------------
Just my 2 cents... "And if I claim to be a wise man, it surely means that I don't know" - Kansas
Access Website | Access Blog | Email
Go to the top of the page
 


Custom Search


RSSSearch   Top   Lo-Fi    24th August 2019 - 11:38 AM