Re: VB problem in Access 2007

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



If you have multiple versions of Access (one of them Access 2007) on a Vista
machine, see this link:
http://allenbrowne.com/bug-17.html

--
--Roger Carlson
MS Access MVP
Access Database Samples: www.rogersaccesslibrary.com
Want answers to your Access questions in your Email?
Free subscription:
http://peach.ease.lsoft.com/scripts/wa.exe?SUBED1=ACCESS-L


"Diogo" <Diogo@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:07894253-7B77-4C65-8C71-C3BF661BDA99@xxxxxxxxxxxxxxxx
Hello everyone

Lately I'm having a little problem with the VB in my forms...
When I start the mdb file, made in Access 2003 or 2000 can't recall, it
doesn't load the VB code behind the forms.
I've got to punch F11 and then quit, for it to load the VB, otherwise I
get
an error message:

"The expression On Click you entered as the event property setting
produced
the following error: Object or class does not support the set of events."

The help on this error:
"This error occurs when an event has failed to run because Microsoft
Office
Access cannot evaluate the location of the logic for the event. For
example,
if the OnOpen property of a form is set to =[Field], this error occurs
because Access expects a macro or event name to run when the event is
fired."

Can someone help please??????

Thanks in advanced...


.



Relevant Pages

  • Re: Can Access 10 and 12 Get Along?
    ... both Access versions can work on same PC, but you have to follow rule that you develop Access database on Access version it will run at users PCs ... message "The expression OnOpen you entered as the event property setting ... When I look at the References I see that Microsoft Access 12 Object Library ...
    (microsoft.public.access.modulesdaovba)
  • VB problem in Access 2007
    ... When I start the mdb file, made in Access 2003 or 2000 can't recall, it ... I've got to punch F11 and then quit, for it to load the VB, otherwise I get ... "The expression On Click you entered as the event property setting produced ...
    (microsoft.public.access.modulesdaovba)
  • RE: What is the easiest way to dynamical create a DOC with Access DB d
    ... > data in a table format, we wish to use our own custom formatting for the ... > load the file .e.g. every time you load the DOC file it will load all the ... > appropriate information from the access database MDB. ...
    (microsoft.public.access.externaldata)
  • Re: place an overdue display in the header
    ... I would probably place the code in the form's current event instead of the load event. ... Access MVP 2002-2005, 2007-2008 ... I pulled up the form properties, and on form load I set the event procedure to. ...
    (microsoft.public.access.gettingstarted)
  • Re: Increasing loading
    ... I have data in access database they come from dbf files. ... Becouse of transfer speed I decided not to load all data every day as I ... So I would probably need to chceck WHAT DATA IS IN THE MYSQL TABLE -> ...
    (comp.databases)