> I'm trying to convert (and recompile) a 2000 database. In the form, I
> have something like:
[quoted text clipped - 14 lines]
>
> Thanks!

Signature
Dirk Goldgar, MS Access MVP
www.datagnostics.com
(please reply to the newsgroup)
Well, Pascal / Delphi always did allow sub, and function nesting, and it is
wonderful feature that I miss!!
When you nest functions (in a language that lets you do this), then those
functions are LOCAL to the particular sub!
For ms-access, to group functions and subs this way, you have to put them
all in a similar module, and use public/private. With Pascal, the fact of
declaring subs/functions works exactly on a conceptual level the same way
that global/local vars work in ms-access. If you needed a function to ONLY
be fore use with the current sub, then you declare the function *inside* of
the sub..and it is instantly local!
A good many languages did support this feature...and I often miss it....

Signature
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pleaseNOOSpamKallal@msn.com
http://www.members.shaw.ca/AlbertKallal
Dirk Goldgar - 28 Jan 2005 01:17 GMT
> Well, Pascal / Delphi always did allow sub, and function nesting, and
> it is wonderful feature that I miss!!
[quoted text clipped - 11 lines]
> A good many languages did support this feature...and I often miss
> it....
Sure, I've programmed in many such languages. Unfortunately for Dennis,
VBA isn't one of them. <g>
Working in Access VBA, I have occasionally ended up with nested Subs
like that, when I accidentally pasted code in the wrong place. I think
it's more likely that a mistake of that sort happened here, rather than
it being the result of a programmer who thought he was working in a
different language.

Signature
Dirk Goldgar, MS Access MVP
www.datagnostics.com
(please reply to the newsgroup)