Results 1 to 6 of 6
  1. #1
    ksibly is offline Novice
    Windows XP Access 2003
    Join Date
    Jul 2013
    Posts
    2

    Error message help


    I have this error message that started to appear and not sure what caused it or how to fix looking for some help in this. Thanks
    Attached Files Attached Files

  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,652
    Those 2 lines need to be one.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,441
    you can't have a formula that's broken up onto separate lines

    your line should be something like:

    fOSUserName = left(StrUserName, lnglen-1)

  4. #4
    ksibly is offline Novice
    Windows XP Access 2003
    Join Date
    Jul 2013
    Posts
    2
    I changed it to fOSUserName = left(StrUserName, lnglen-1) but now when jun it highlights the word left and get the compile error: Can't find project or libary

  5. #5
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,441
    I guessed at your missing code. I don't know what was there originally but it looks like someone had a section of code highlighted and hit enter (thereby deleting a bunch of code). You may have had a different function than LEFT in there, it's impossible for me to say what was there before.

    If LEFT is the correct function you have to add the reference back in for it to work (TOOLS>REFERENCES in the vb code window). You probably want the microsoft access object library (you'll have to find the appropriate one for your version of access)

  6. #6
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Error message 'Error in Loading DLL'
    By rahayes in forum Programming
    Replies: 2
    Last Post: 09-22-2012, 05:17 AM
  2. Replies: 2
    Last Post: 06-23-2012, 11:59 PM
  3. Getting A Error Message Please Help
    By cec in forum Access
    Replies: 2
    Last Post: 05-15-2012, 02:31 PM
  4. Error Message???????????
    By bopsgtir in forum Access
    Replies: 1
    Last Post: 10-02-2011, 06:10 PM
  5. error message
    By ngeng4 in forum Forms
    Replies: 85
    Last Post: 03-25-2010, 06:47 AM

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