Results 1 to 4 of 4
  1. #1
    stan_the_man21ph is offline Novice
    Windows 7 64bit Access 2003
    Join Date
    Sep 2011
    Posts
    2

    Question MS Access 2003 running 64 bit system problem


    Hello, I have this problem with an application that I am supporting. The scenario is that I have a ms access 2003 application in a 64 bit windows 2008system or windows server 2003. The problem is that I have a function that needs to be called when I execute a query object, ex: when I open the query object by clicking the design button I have this query string"select funcGetCode(dummy) as column1, description from temptable" This funcGetCode() is from a reference dll file of the mdb proj. The problem is that when I try to execute it(debugging through ms access), an error will be reported wherein it states that"Undefined function 'funcGetCode' in expression. Meaning it was not able to find the function. On a 32-bit system all is ok without modifying the mdb.Any help is much appreciated.Thanks,Stan S.

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    what is the code of the function? Is it possible to recode it so it's acceptable to either system?

  3. #3
    stan_the_man21ph is offline Novice
    Windows 7 64bit Access 2003
    Join Date
    Sep 2011
    Posts
    2
    Hello rpeare,

    Thanks for replying, actually the function that can't be called from a query was on a reference module. What I did was just to make another copy of that same function on a module of the main access db file and not the reference .mda file and it already works for 64 bit. Just wondering what would probably be the issue here since it works with 32 bit systems? Is this probably a security issue?

  4. #4
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    why would the bit configuration of the OS be related to calling a vba function from a query? Is that what you're saying? I'm curious about it.

    Undefined function, in my eyes, could mean:

    1) you have a broken lib reference in vba.
    2) the function changed names or is misspelled.
    3) the function is really a subroutine.

    what do you mean by this:

    This funcGetCode() is from a reference dll file of the mdb proj.
    I don't get that. The function you're trying to call is INSIDE the dll? Or you just have a ref to the dll that is somehow being used in the vba function?

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

Similar Threads

  1. Problem Saving Access 2007 to 2003 database
    By spkoest in forum Access
    Replies: 4
    Last Post: 05-03-2011, 04:44 PM
  2. Intriguing Access 2003 Bracket problem
    By pinecrest515 in forum Access
    Replies: 1
    Last Post: 02-22-2011, 04:35 PM
  3. Access 2003 subform linking problem
    By RANCHLAW56 in forum Access
    Replies: 1
    Last Post: 12-26-2010, 05:35 PM
  4. Problem with Access 2003 database after moving PCs
    By ValiantSaint in forum Access
    Replies: 2
    Last Post: 06-25-2010, 01:55 AM
  5. access 2003 on vista Out of Memory Problem
    By skbrede in forum Access
    Replies: 0
    Last Post: 07-25-2009, 08:28 AM

Tags for this Thread

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