When I try to split my existing database I get the error "Subscript out of
range". Does anyone know how I fix this error to split the DB?
John
Compact and repair the database first, just in case it's corrupt.
It's also not essential to use the database splitter wizard. You can split the
database manually. To do so make *THREE* copies of the database: a backup in
case you make a mistake; the future frontend; and the future backend.
Rename the backend from mydata.mdb to mydata_BE.mdb. Open it and ruthlessly
delete ALL your forms, reports, macros and modules. Compact and repair to free
up the space that they occupied. Check that your relationships are correctly
set up and close it.
Then open the copy that is to become the frontend. Delete the Tables from the
tables window (leave everything else alone). You may need to delete the
"manyest" table first, and work up to the "one-est" table to avoid referential
integrity error messages. Then use File... Get External Data... Link to link
to the tables in mydata_BE.mdb. Compact and repair the database. Test, test,
test everything!!
Note that if you have a switchboard created by the switchboard wizard, you
should except the table named Switchboard; it must remain in the frontend.