Re: Function vs Sub /Public vs Private



"lauren quantrell" <laurenquantrell@xxxxxxxxxxx> wrote in
news:1122055391.763589.165110@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:

> Maybe I formed that opinion back in Access 97 and have it stuck in
> my mind. I can remember loading forms with a couple of subforms
> and when I removed all the OnLoad, OnOpen, populating and control
> formatting code into a module named after the form (to keep it all
> in one place) I could count the difference with the second hand on
> my watch. Maybe it got changed but I kept the notion it makes a
> difference and have stuck with that contruction since those dark
> days.

Sounds like your forms weren't properly compiled and were
recompiling each time they were loaded.

That's a completely different set of problems that can be solved
without moving all the code out of the forms.

And it may be due to hidden corruption -- decompile (judiciously
used) is your friend.

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
.



Relevant Pages

  • Re: Function vs Sub /Public vs Private
    ... Maybe I formed that opinion back in Access 97 and have it stuck in my ... mind. ... I can remember loading forms with a couple of subforms and when I ...
    (comp.databases.ms-access)
  • Re: Function vs Sub /Public vs Private
    ... >> Maybe I formed that opinion back in Access 97 and have it stuck in ... >> my mind. ... >> formatting code into a module named after the form (to keep it all ... >> difference and have stuck with that contruction since those dark ...
    (comp.databases.ms-access)
  • Re: Hoax of the century
    ... And YOU'D post 927 links to the same damn article if the scientists of ANY ... organization overwhelmingly changed their mind. ... the one stuck on stupid is you. ...
    (rec.gambling.poker)
  • Re: TKD Death
    ... I honestly enjoy reading his wc fantasies: ... Poor Xiaou is a ma dinosaur, lost in a 1970s fantasy world of Bruce ... Nothing you can say will change his poor little mind, ... intention of ever doing ma again, he'll remain stuck in his time-warp. ...
    (rec.martial-arts)
  • Re: Kogler
    ... stuck *because* they don't experiment and think for themselves. ... Keep in mind that a rider can experiment and think for themself even if they ... of knowledge shifts from the teacher to the student. ...
    (rec.equestrian)