H
harmi
Hi NG,
I'm working with Access 97:
if have a big program with a bunch of public vars like:
f.e.:
- sales_2004_jan
- sales_2004_feb
- sales_2004_mar
etc
- sales_2005_jan
- sales_2005_feb
- sales_2005_mar
etc.
Is it possible to generate a reference like:
dim xYear as string
dim xMonth as string
dim xSearch_Public as string
xYear = "2005"
xMonth = "mar"
xSearch_Public = "sales_" & xYear & "_" & xMonth
msgbox xSearch_Public will show: sales_2005_mar
but shoud show: 1200000 (f.e.)
Is it possible to get via xSearch_Public a grip on the value of the
public-variable sales_2005_mar?
Thanks for helping
Regards
Harmi
I'm working with Access 97:
if have a big program with a bunch of public vars like:
f.e.:
- sales_2004_jan
- sales_2004_feb
- sales_2004_mar
etc
- sales_2005_jan
- sales_2005_feb
- sales_2005_mar
etc.
Is it possible to generate a reference like:
dim xYear as string
dim xMonth as string
dim xSearch_Public as string
xYear = "2005"
xMonth = "mar"
xSearch_Public = "sales_" & xYear & "_" & xMonth
msgbox xSearch_Public will show: sales_2005_mar
but shoud show: 1200000 (f.e.)
Is it possible to get via xSearch_Public a grip on the value of the
public-variable sales_2005_mar?
Thanks for helping
Regards
Harmi