Ima Lostsoul wrote:
In article <MP************************@netnews.comcast.net> ,
me@myprovider.com says...
Within one of my functions that is called on a custom report menu is
code that closes the calling report. I have a global variable
(gcCurrentReport) that holds the name of the current report. How can I
utilize this varibale into code to close the calling report. I know
this should be pretty simple but I am having a brain fart right about
now.
Thanks,
DB
Never mind! Ima DumbAzz... :(
In the spirit of the group and the benefit of lurkers, you should post
your own solutions to problems, future googlers will appreciate it also,
imagine poor soul seeing your post and thinking "great, that's exactly
my problem, now where's the solution?"
Am I right in thinking
DoCmd.Close acReport, Reports(gcCurrentReport)
is what u came up with?
--
\\\\\\
\\ \\ Windows is searching
\ \ For your sig.
\ \ Please Wait.
\__\