Re: Fastest way to do this?



On Nov 29, 1:17 pm, insomniux <dispos...@xxxxxxxxxxxxxx> wrote:
Running access over the network usually is extremely slow. My solution
was to install a 'local user-interface' of the database on each PC
with linked tables to the central database (btw in my case not an
access database). The user-interface only had the forms/reports/
modules, but no tables. This gave an extreme boost in speed. As I
understand you have the solution already at hand in VBA using a
recordset, this could solve your speed problem.- Hide quoted text -

Yes, in my mind this is the *only* way to go. I'm not using Access or
VBA as my front-end though so this isn't really related to my speed
issue, I'm writing an app using C++ which uses DAO, but I do my
testing and proto-type stuff in Access and using DAO the way I do
isn't much different than using it from VBA so my questions/comments
still apply to this news-group. Also, I always get almost identical
speed testing results in Access or in my C++ code (which makes since,
because Access 2000 is using DAO basicly the same way I do).

Anyway, even with an EXE I've found that it is a really bad idea to
have your "code" (VBA script, forms, whatever it may be) located on a
network share. You can use network monitor to see that Windows goes
out to the EXE/code a lot as your code is running (it doesn't just
keep the entire EXE in memory like one might think). This is basicly
what a "General Page Fault" is, when Windows wants to get your code,
but it is GONE/moved because the network connection was reset.

Although, that being said, I'd think Access would just keep a local
cache of the forms and scripts (or keep in memory) so it doesn't need
to access the network each time. It requires exclusive access to edit
code/forms/reports anyway, so not like they need to keep checking to
see if the code was modified by another user.
.



Relevant Pages

  • Re: Access 2000, VBA Code corrupt
    ... its only when i open the VBA portion of the form... ... Network connection may have been lost". ... Make a backup of the database. ... In the panel on the left, select the corrupt form to view its code. ...
    (microsoft.public.access.modulesdaovba)
  • Re: Merging content from access
    ... My hunch at the moment is that this is a problem in my access query. ... I agree with you that Word VBA is a more elegent solution. ... The other field-based technique requires you to have a "parent" table as ... the mail merge data source and a child table inserted using a DATABASE ...
    (microsoft.public.word.docmanagement)
  • Re: Audacity and Gentoo
    ... > Oracle Black Helicopter Base in Antarctica: `Hey, we've got a database, ... available, especially from Australia's ABC national radio network, ... I don't sync it with the computers, ... There's over 5,000 games in that 15 ...
    (uk.comp.os.linux)
  • (no subject)
    ... - LDB locking which a persistent recordset connection fixes ... New format of Access 2000 MDB ... Place backend MDB on the root of the network share rather than several folders down ... Subdatasheets are a new feature in Access 2000 Therefore, you are more likely to notice this behaviour after you convert a database from an earlier version. ...
    (comp.databases.ms-access)
  • Re: Replication/Sychronization and security
    ... When put on the network it takes several seconds for those close to ... I am told that our network drives are for data storage (word/excel ... explore the possiblity of replication as a solution. ... >> database to decrease the potential for breach. ...
    (microsoft.public.access.replication)