473,467 Members | 1,565 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Show a tab of a custom ribbon in ms access only when a report is opened...

99 New Member
I have a custom ribbon for the my access database application. I want certain tab of the ribbon be shown only when a report is opened, otherwise hidden, just like the builtin print preview tab. Thanks in advance for any help.
Aug 1 '16 #1
2 1139
MikeTheBike
639 Recognized Expert Contributor
Hi

You can define any number of custom ribbons in the USysRibbons table. I assume you you custom ribbon in this table.
Then in the 'Other' tab of the Report's Property dialogue you can set the 'Ribbon Name' property to one of the defined ribbon.
When/while to report is open/has focus this will be the only ribbon visible.

HTH


MTB
Aug 1 '16 #2
mshakeelattari
99 New Member
Thank you for response. In this method, the property of each report will have to be set individually. Is there no other method that automatically set the property of each report, or by checking whether the active access object is a report or form by a loaded form's timer event and if it is a report, the "docmd.showtoolbar" displays the ribbon otherwise hide it?
Aug 1 '16 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Rick Caborn | last post by:
I am having a problem with an Access 2000 report getting data from SQL Server 2000. Here are the specifications for it: RecordSource: a stored procedure (tested via query analyzer and working...
2
by: CSDunn | last post by:
Hello, I have an Access 2003 report that opens in print preview and then maximizes upon clicking a button from a form. The OnClick event of the button fires a macro to open the report. How can...
1
by: urange | last post by:
Hi to all, I am setting up a database which has to store a great number of images. I will therefore store the images not as OLE but as a text link to the file (maybe I'll try the BLOB-solution)....
1
by: btsnyder | last post by:
I have a customized Ribbon for Access 2007 with various buttons that open different forms. When opening certain forms, none of which have their own custom ribbon assigned, the selected tab is reset...
1
by: mrzebo1 | last post by:
I have an access 2007 report that I an executing from a form, The report is based on a query that i change when it is execuded using me.recordsource=, There is a text box in the heading that i want...
0
by: wendi | last post by:
I have the strangest problem with an access query/report. The calculations in the query work perfectly …. I create my report and it has perfect calculations too; however when I attempt to add my...
5
by: Sandra Walsh | last post by:
Hello - I am working in Access 2010. I am trying to show a custom ribbon when a report is opened in Print Preview mode. I have created a custom ribbon called Print and Send. This ribbon...
1
by: newtoaccessvba | last post by:
I am not too familiar with VBA in Access, but I would like if someone could show me how to ignore a caption and it's field in an Access 2010 Report and an Outlook Email when the field value is it is...
10
by: CD Tom | last post by:
I've created a custom ribbon (first time) it works fine but I can't figure out what to do when I have a print preview on the screen. It seems like when you have a custom menu the print menu doesn't...
13
twinnyfo
by: twinnyfo | last post by:
OK. So for about a million years, since MS Office has been using their ribbons, I've been able to create a Custom Ribbon that I use exclusively for my Reports: <customUI...
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...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.