Results 1 to 4 of 4
  1. #1
    Phred is offline Competent Performer
    Windows XP Access 2010 (version 14.0)
    Join Date
    Dec 2009
    Posts
    246

    Combo Box Error Stops Function

    Access 2007. My skill level is moderate. Problem with combo box on Customer form. Not compiled, not split.



    I built a standard combo box with the wizard to find a customer on the customer form. This automatically built the corresponding macro. You select the customer from the box and the related customer record appears on the form.

    This works perfect on the development machine.

    Every other machine I move it to produced the errors on the Pics I have attached. All of these machines have access 2007.

    Pic 1= The macro as built by Access
    Pic 2= The first error message afterupdate on the combo.
    Pic 3=Details of error.

    The database on every machine is in a trusted folder with sub folders included in the trust. I also on one machine gave full control on security to Everyone because of one post I read. Neither works.

    I would really like to convert this to VBA but I need some help with the functions. My VBA skills are moderate. I have looked at docmd.findrecord and others but can't put it all together in vba.

    Any thoughts

    Phred
    Last edited by Phred; 01-28-2012 at 01:10 PM. Reason: Add more details

  2. #2
    Phred is offline Competent Performer
    Windows XP Access 2010 (version 14.0)
    Join Date
    Dec 2009
    Posts
    246
    I solved the problem. I had an addin installed in my Access "Smart Indenter."

    Under VB I selected Tools -> References -> SmartIndenter and the reference to the addin was marked as "Missing".

    I cleared the check box and everything works fine.

    No problem with the combo on any machine. I am guessing this would not have happened if I had compiled.

  3. #3
    Phred is offline Competent Performer
    Windows XP Access 2010 (version 14.0)
    Join Date
    Dec 2009
    Posts
    246
    How do I mark this Solved?

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Quote Originally Posted by Phred View Post
    How do I mark this Solved?
    It is under Thread Tools at the top of the thread. BTW...Access will compile automatically when you try and run the forms.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Error in Function
    By Alex Motilal in forum Programming
    Replies: 2
    Last Post: 10-11-2011, 06:30 AM
  2. VBA - Using GetObject function - get error.
    By jsbotts in forum Programming
    Replies: 7
    Last Post: 10-10-2011, 07:51 AM
  3. aggregate error due to function
    By boutwater in forum Access
    Replies: 2
    Last Post: 09-26-2011, 03:39 PM
  4. Compile error. Sub of function not defined
    By plavookins in forum Reports
    Replies: 7
    Last Post: 04-22-2011, 10:15 AM
  5. Having - Like stops working
    By tdalber in forum Queries
    Replies: 0
    Last Post: 02-03-2009, 04:30 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums