Results 1 to 3 of 3
  1. #1
    Etienne_C is offline Novice
    Windows 10 Access 2016
    Join Date
    Apr 2020
    Posts
    1

    DoCmd.openfunction

    In an other function of the same module1 I would execute a function named ABCD()

    DoCmd.openfunction module1.ABCD()

    I received the error 'cannot find the object'

    What is wrong ?



    Thanks

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,518
    In VBA, simply:

    ABCD

    or

    Call ABCD()

    More here:

    http://www.baldyweb.com/Function.htm
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    ranman256's Avatar
    ranman256 is online now VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,521
    No docmd needed.

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

Similar Threads

  1. DoCmd Run SQL
    By nick243 in forum Modules
    Replies: 13
    Last Post: 01-07-2019, 03:42 PM
  2. Replies: 2
    Last Post: 09-27-2016, 09:10 PM
  3. Replies: 1
    Last Post: 07-30-2015, 12:56 PM
  4. Replies: 6
    Last Post: 01-27-2015, 02:00 PM
  5. Replies: 10
    Last Post: 03-12-2013, 01:41 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