473,395 Members | 1,977 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,395 software developers and data experts.

Me.Detail.Visible=False does not suppress Detail

Being new to Access 2007, I am Trying to solve a bigger report problem, so I start simple with a Detail On Format Event of:

Expand|Select|Wrap|Line Numbers
  1. Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
  2. Me.Detail.Visible = False
  3. End Sub
The report detail is visable for all records! When this works I will build up to my desired filtering, but this simple event proceedure failes to suppress the detail area of my report. (I have set the report and page headers and footers to visible No on the property sheet, and that is working.) Thanks for pushing me past this puzzlement. -Al.
Nov 20 '10 #1

✓ answered by evilbungle

Hi Mate,

How are you firing the event? Might be that it is a new addition for 07, I am still using 03 but I am not sure when this event fires but it looks like the problem maybe that the event is not firing when you want it too.

6 3021
Hi Mate,

How are you firing the event? Might be that it is a new addition for 07, I am still using 03 but I am not sure when this event fires but it looks like the problem maybe that the event is not firing when you want it too.
Nov 22 '10 #2
Good morning EvilBungle,
I assumed that as I constructed my form in the Design View, that Property Sheet - Event - On Format allows me to create an event that is triggered when the report is tested on screen. But I am seeing that I must actually print or print preview the report for the filter to work. Thanks for getting me outside my box. I'm moving on to more complex filters now.
Nov 22 '10 #3
NeoPa
32,556 Expert Mod 16PB
Hi Al.

If you sign in with your account your posts will not find themselves in the moderation queue automatically, and you can select EvilBungle's post as the Best Answer ;-)
Nov 22 '10 #4
NeoPa
32,556 Expert Mod 16PB
I can see you tried to Al, but you set my post by mistake ( which certainly doesn't qualify). I've reset it for you so you can have another go at it. Click the Best Answer button/link within EvilBungle's post.
Nov 22 '10 #5
I’m also a bit new to participating in lists as a questioner. Thanks. –Al.
Nov 22 '10 #6
NeoPa
32,556 Expert Mod 16PB
We all have to start somewhere Al.

Welcome to Bytes!
Nov 23 '10 #7

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

Similar topics

1
by: Giedrius | last post by:
Well, after developing a plugin based architecture, with lots of menuitems, i found that after adding a menuitem, and later removing, results in increased memory. I know all that thing with...
2
by: Chris Belcher | last post by:
While I'm sure this is simple I just can't figure it out. Table A (assignments) is on the One side of a One to Many relationship With Table B (assignees)There are many assignees assigned the one...
2
by: cannen | last post by:
I am wanting to use Docmd to open another form and set the newly opened forms detail.visible = false to true. stDocName = "frmVacRequest" DoCmd.OpenForm stDocName, acNormal 'This opens my form...
12
by: Gary Brower | last post by:
Hi, I am using VB.Net to create an ASP web form. My goal is to create a master/detail web form that allows users to create new master and detail records. For example the form would have header...
1
by: Agnes | last post by:
In my one datagrid, there is master - detail relationship. I can set dv.allownew = false, However, as the user click into detail, it can't set to allownew = false. Does anyone know how to solve it...
1
by: Keimo Repo | last post by:
Hello I would need some advice, even just speculations... A customer of ours insists on a couple of customer specific design features for our existing multi-customer web application: - A...
2
by: John | last post by:
Hi I am trying to create a master/detail form. I have my master and details tables dragged onto the dataset. I have also dragged the fields from master table on the form which has created the...
10
by: sara | last post by:
Hi - Is it possible to hide the detail section of a report at run time? I have a report that prints all details, with summary lines. The user would like the report ALSO with just summary lines....
1
by: =?Utf-8?B?WWFua2VlIEltcGVyaWFsaXN0IERvZw==?= | last post by:
there are times i want to turn a specific row in an html table off or hide it. I can set a <trcontrol with an id and a runat="server", but how do i find it, then set it to Visable="False"? A...
2
by: ziycon | last post by:
This function is in a class file, can't get the frmLogin form to hide when a user logins in, the frmMain will open fine though!??? public void login(string username,string password) { ...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.