I
Iram Alvarez
Why do some programers use Front End/Back End (in other words two .mdb files linked) rather than using one .mdb
What is the whole point
What is the whole point
files linked) rather than using one .mdb?Iram Alvarez said:Why do some programers use Front End/Back End (in other words two .mdb
files linked) rather than using one .mdb?Iram Alvarez said:Why do some programers use Front End/Back End (in other words two .mdb
files linked) rather than using one .mdb?Iram Alvarez said:Why do some programers use Front End/Back End (in other words two .mdb
TC said:Also the front-end can close, compact, then re-open, the back en
from code.
HTH,
TC
onthuhlist said:Also the front-end can close, compact, then re-open, the back end
from code.
I'd like to see said code. I've searched the internet and haven't found
code to do this. How do you close a back end when the back end
automatically opens when the front end is opened simply by virtue of
its tables being linked into the front end. I'm talking with all the
front end's forms, queries, everything closed. Just with the Access
2002 database window open for the front end. You go to the folder for
the back end, and you see that it has a .ldb file open, signifying that
the back end is in use, and therefore you will be unable to compact it.
And an Access 97 solution doesn't count here. I'm talking about using
Access' built-in compact and repair method.
Douglas said:news[email protected]...[vbcol=seagreen]
You should only see the locking file (LDB) if you're actually workin
with
the data: running a query, opening a form that's looking up data in
table
(either as a bound form, or say combo boxes bound to a query) or th
like.
The mere act of opening the front end should NOT cause the lockin
file to
be created.
onthuhlist said:*Although the mere act of opening the front end should NOT cause th
locking file to be created, yesterday this was actually happening.
wrote a module procedure to close all forms, then called thi
procedure from a form button. Therefore, the code could close th
calling form. I put a breakpoint in the code after all the forms ha
been closed, and the .ldb file was still there. Even after 5 minute
sitting there scratching my head (and cleaning up the dandruf
afterward). Well, today I'm trying the same thing, and the .ldb I
NOW CLOSING! What's up with this? Microsoft Access isn't eve
behaving repeatably... Sigh. This is so frustrating! Again, the bac
end is on my PC, so it's not a multi-user issue.
Things you can't do with Access:
1. Programmatically resize an embedded webbrowser control.
2. Put a rich text control on a page of a tab control. *
onthuhlist said:Here's what I'm finding. I run my code to close all forms. Then I put a
breakpoint in the code which is about to copy and compact the backed,
so I can manually watch the .ldb file for the backend database close.
But the .ldb file for the backend database remains open indefinitely,
even though I run the DoEvents method in the code before my breakpoint.
Then, still in debug mode, I click "Reset" to stop code execution, and
the .ldb file finally goes away. Well, I need the .ldb file to go away
WHILE the code is running, so that I can programmatically copy and
compact the backend.
Any thoughts of how to resolve the issue? Again, I've used the DoEvents
method unsuccessfully.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.