473,472 Members | 1,736 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Hidden control

I experience a curious behavior with hidden controls in a Report.

The value of each primary control (CtrlA, CtrlB, CtrlC, CtrlD) is the result
of a function call. These controls (intended to be hidden) are in the Detail
section of the report and their content is printed by secondary controls in
the Bottom of the page section (CtrlAA, CtrlBB, CtrlCC, CtrlDD).

When primary controls (CtrlA, CtrlB, CtrlC and CtrlD) are set to Visible,
everything works fine and the results are what is expected. When I set the
control any primary control to Hidden (required final state), the result is
erronneous.

Any suggestion what to investigate ?

--
Michel Boivin
Cap-Rouge, qc
Mi****@Boivin.net
Nov 12 '05 #1
1 2086
Bound controls in the Page Footer section are subject to timing, i.e. their
value depends on when Access prepares the section. If the Detail section is
not being printed, the timing of the preparation of the page footer could
well be different.

Can you move the controls into a Group Footer section? Or the Report Footer
section?

Also, any code assigned to Print event of the Detail section may not execute
if the section's PrintSection property is set to No.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Michel Boivin, ing." <mb*****@altavista.net> wrote in message
news:4V********************@wagner.videotron.net.. .
I experience a curious behavior with hidden controls in a Report.

The value of each primary control (CtrlA, CtrlB, CtrlC, CtrlD) is the result of a function call. These controls (intended to be hidden) are in the Detail section of the report and their content is printed by secondary controls in the Bottom of the page section (CtrlAA, CtrlBB, CtrlCC, CtrlDD).

When primary controls (CtrlA, CtrlB, CtrlC and CtrlD) are set to Visible,
everything works fine and the results are what is expected. When I set the control any primary control to Hidden (required final state), the result is erronneous.

Any suggestion what to investigate ?

--
Michel Boivin
Cap-Rouge, qc
Mi****@Boivin.net

Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: neverstill | last post by:
hi- I need to have an asp:TextBox that will allow me to set the type attribute to hidden. I can't seem to find a way to do this. Basically, I have a Wizard application that will show/hide...
5
by: Rob T | last post by:
I have a user control that need to have a hidden textbox. (I have some JS that needs to get some info out of it) If I make a standard textbox (<asp:TextBox ID="txtTest" Runat="server" />) in my...
1
by: Rob Meade | last post by:
Hi all, I have a loop in my code which builds the controls on the page. I at one stage need to add some hidden input controls dynamically, I have achieved this, and I have set their...
4
by: Ian Cox | last post by:
I have a web form that contains a Datagrid. This grid has a number of columns, one of which contains a text box and validator for that text box. Everything works fine, when I press the "Save"...
2
by: cnickl | last post by:
I have the following problem: I’m creating a hidden control dynamically in the page_load event handler using the following code C#: .. HtmlInputHidden Hidden1 = new HtmlInputHidden();...
6
by: Bill Cohagan | last post by:
Is it possible to have a validation control whose ControlToValidate is in fact a hidden control? When I try this I find that the validator apparently does not fire. If I make the control...
4
by: WB | last post by:
Hi, I need to validate a hidden input in my webform to ensure that it's got value. The controls look something like this: <input id="HidSelectedStates" type="hidden" runat="server" /><br...
11
by: newbie | last post by:
i have a form in which a hidden field (initial value as '0', and my javascript set it to '1' when an event is trigged). In the same form, i have a reset field. But I realized that the hidden field...
4
by: tomko | last post by:
Hi, I've found a way to copy the visible presentation of a control on to a picturebox (using Graphics and GDI). But this works only if the control is visible. How can I have the control hidden...
1
by: dawidg | last post by:
I have an asp.net page with viewstate disabled. I have a control on the page that dynamically creates controls inside itself, no viewstate. The controls aren't created in Init, but in Load. With...
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
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
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
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,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
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: 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 ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.