By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,948 Members | 664 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,948 IT Pros & Developers. It's quick & easy.

Close report by code help needed

P: n/a
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
Nov 13 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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... :(
Nov 13 '05 #2

P: n/a
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.
\__\

Nov 13 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.