473,382 Members | 1,367 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Close report by code help needed

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
2 6606
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: CST | last post by:
Hi All, I looked through numerous posts and couldn't find exactly what I am looking for, so I am posting this. We have a web application that runs reports. A user needs to run multiple reports...
1
by: Steven | last post by:
I have a webpage where the user enters parameters for a report. This page then post to a 2nd page. In this second page is the code to create the report. The output of the page when it is...
9
by: MacDermott | last post by:
I have an Access MDB which instantiates a class in a custom DLL, manipulates it for a while, then sets it equal nothing. The MDB does other things,too, and generally behaves itself as desired....
5
by: Reggie | last post by:
Hi and TIA! I have a form and have set the Close Button to false so that users must exit using my close button. However when I open a Report from this form I want the close button to be available...
1
by: shaqattack1992-newsgroups | last post by:
I know this is kind of a weird question, but is there anyway to give a subreport control of a main report? I posted my situation earlier about having drawings print out after a group. I have a...
4
by: MLH | last post by:
I get something like this a percentage of the time when I open an A97 report by dbl-clicking it in the database window. I can not remember seeing tnis when the report is opened in code, I can not...
0
by: bonita | last post by:
In my ASP.NET page, I have 2 checkboxes for users to choose which crystal report they want to display. These two reports use different tables. If report1 has been choosen and displayed in the...
4
by: zack | last post by:
Any help with this would be greatly appreciated, as cannot work out how to resolve. I have a report called "3_Strikes". In its 'On open' event is command to also open a criteria form popup form...
5
by: Tony | last post by:
I am continuing to develop an Access 2007 application which was originally converted from Access 2003. In Access 2003 I was able to disable the Access Close button in the top righthand corner of...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.