Results 1 to 4 of 4
  1. #1
    Huddle is offline Competent Performer
    Windows 10 Office 365
    Join Date
    Jun 2010
    Posts
    318

    Compile Error caused by splitting database?


    I split my database into FSA Status Database BE and FSA Status Database FE. The command button on the original FSA Status Database works fine, but when I use it on the FE I get the attached with Update_Text highlighted.Doc1.pdf Can you point me to a solution?

  2. #2
    Micron is offline Very Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,423
    It's probably because you never compiled your code to check for errors before splitting. You should also have Option Explicit at the top of every module and compile frequently as you code, and finally before splitting. I understand what the message means but have no idea what's causing it. When applicable, always post the error number, message, and in the case of code, what line causes it. My guess it fails in one of your modulename.procedurename calls or the procedure has gone out of scope after splitting, but without even knowing which line, that is indeed a wild guess.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  3. #3
    Huddle is offline Competent Performer
    Windows 10 Office 365
    Join Date
    Jun 2010
    Posts
    318
    Discovered is was a lag between my BE and FE. Problem corrected by removing some of the coding.

  4. #4
    Micron is offline Very Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,423
    Thanks for posting the solution!
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

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

Similar Threads

  1. Error in Database Splitting
    By shay8020 in forum Access
    Replies: 14
    Last Post: 08-10-2018, 03:08 PM
  2. Splitting Database - Error Message
    By tsb in forum Access
    Replies: 2
    Last Post: 06-29-2017, 02:32 AM
  3. Replies: 3
    Last Post: 12-11-2016, 03:51 PM
  4. Database Splitting Error
    By SltPhx in forum Access
    Replies: 2
    Last Post: 08-01-2013, 04:11 PM
  5. Error when splitting database
    By blkmagic in forum Access
    Replies: 1
    Last Post: 09-30-2011, 04:55 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