Share via

How to split a database

Anonymous
2015-06-25T13:29:58+00:00

Hello,

I tried to split my database with the splitter wizard and got this error message: "Subscript out of range"

The Back-End database is created but the tables are not linked.

What could possibly be the problem and how can I solve it?

Microsoft 365 and Office | Access | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

12 answers

Sort by: Most helpful
  1. Anonymous
    2015-06-26T21:08:43+00:00

    Hello,

    I have been able to debug the code errors.

    The new problem I noticed is this error message:

    "Can not open any more databases"

    I search for it and I got this result:

    "You have reached the limit on the number of databases that can be opened at one time. Close one or more databases and try the operation again."

    I am confused about this message and don't know what to do about it.

    Meanwhile I know I don't have any other database open.

    Was this answer helpful?

    0 comments No comments
  2. Tom van Stiphout 40,211 Reputation points MVP Volunteer Moderator
    2015-06-26T02:05:37+00:00

    You need to quote error messages VERBATIM, and include the code where it happens, and indicate the line where the error happens.

    One way to do that is when the error occurs, hit Ctrl+Break to break into the debugger. You may be in an error handler. Execute a Resume statement to get to the line causing the error.

    Was this answer helpful?

    0 comments No comments
  3. ScottGem 68,830 Reputation points Volunteer Moderator
    2015-06-26T00:47:17+00:00

    VBA code should work the same on linked tables as local tables. Without knowing the code and the errors its impossible to advise.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2015-06-25T22:49:33+00:00

    Thanks,

    I have successfully split the database into two new ones (ie. the back end with only the tables and the front end with other database objects) and linked the tables accordingly.

    However, I noticed that most of my codes that previously worked well prior to this action have started producing errors.

    What could be the problem and what can I do about it?

    I await your quick response please.

    Was this answer helpful?

    0 comments No comments
  5. Tom van Stiphout 40,211 Reputation points MVP Volunteer Moderator
    2015-06-25T13:38:34+00:00

    Does the application compile before you split it?

    Alt+F11 to open VBA editor > Debug > Compile

    Of course it's not hard to select External Data > Access > Link and link the tables yourself.

    Was this answer helpful?

    0 comments No comments