You should find all global variables in a standard module and local variables in
form and report class modules. Start with the global variables by going to the
first variable, put XX in front of the name and go to Debug - Compile. You
should raise an error at each place in code that variable is used. Repeat for
each variable. It's a tedious manual way of doing it!
--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
resource@pcdatasheet.com www.pcdatasheet.com
"WindAndWaves" <access@ngaru.com> wrote in message
news:LFuxc.49$rl1.1251@news.xtra.co.nz...[color=blue]
> Hi access gurus,
>
> Is there a way to see what variables are currently in
> use/active/declared/...?
>
> so that I can identify where my code my need some cleaning up???
>
> TIA.
>
> - Nicolaas
>
>
> ---
> Please immediately let us know (by phone or return email) if (a) this email
> contains a virus
> (b) you are not the intended recipient
> (c) you consider this email to be spam.
> We have done our utmost to make sure that
> none of the above are applicable. THANK YOU
> Checked by AVG anti-virus system (
http://www.grisoft.com).
> Version: 6.0.700 / Virus Database: 457 - Release Date: 06/06/2004
>
>
> ---
> Please immediately let us know (by phone or return email) if (a) this email
> contains a virus
> (b) you are not the intended recipient
> (c) you consider this email to be spam.
> We have done our utmost to make sure that
> none of the above are applicable. THANK YOU
> Checked by AVG anti-virus system (
http://www.grisoft.com).
> Version: 6.0.700 / Virus Database: 457 - Release Date: 06/06/2004
>
>[/color]