Hi All,
I have a report which is based on a query which is used to produce QC
check sheets. I have quite a few text boxes which are used to display
questions depending on the value of one particular field which will have
either a "H" or "B" value.
e.g. =IIf([ppactyp]="H"," Does the multipack Qty match the paperwork"," Is
the outer label positioned correctly")
My problem is that there are more questions for hanging types than boxed.
Where I have run out of questions for boxed, I have set the IIF statement to
display "" but I would really like to hide the text box. I was hoping to do
this with conditional formatting but as far as I can see, you cannot change
borders this way.
Has anyone got any ideas?
TIA
Mark 7 10174
Mark,
I don't quite understand what you are trying to do but if you would like to show / hide controls depending on a condition then you need something like:
If condition =True then
Me!TextBox1.vis ible = True
else
Me!TextBox.visi ble = False
end if
Or even in 1 line: Me!TextBox.visi ble = Condition
--
Hope this helps
Arno R
"Mark" <ma**********@n tlworld.com> schreef in bericht news:0P******** *******@newsfe3-win.ntli.net... Hi All, I have a report which is based on a query which is used to produce QC check sheets. I have quite a few text boxes which are used to display questions depending on the value of one particular field which will have either a "H" or "B" value. e.g. =IIf([ppactyp]="H"," Does the multipack Qty match the paperwork"," Is the outer label positioned correctly") My problem is that there are more questions for hanging types than boxed. Where I have run out of questions for boxed, I have set the IIF statement to display "" but I would really like to hide the text box. I was hoping to do this with conditional formatting but as far as I can see, you cannot change borders this way. Has anyone got any ideas? TIA Mark
Hey,
when you only want to hide textbox - you can write in the module an
if-statement and set the visible option true or false.
"Mark" <ma**********@n tlworld.com> schrieb im Newsbeitrag
news:0P******** *******@newsfe3-win.ntli.net... Hi All, I have a report which is based on a query which is used to produce QC check sheets. I have quite a few text boxes which are used to display questions depending on the value of one particular field which will have either a "H" or "B" value.
e.g. =IIf([ppactyp]="H"," Does the multipack Qty match the paperwork"," Is the outer label positioned correctly")
My problem is that there are more questions for hanging types than boxed. Where I have run out of questions for boxed, I have set the IIF statement
to display "" but I would really like to hide the text box. I was hoping to
do this with conditional formatting but as far as I can see, you cannot
change borders this way.
Has anyone got any ideas?
TIA
Mark
Hi Arno,
I know how to do this on forms using the method you've described but
firstly, an event does not exist on reports that will look at each page to
check the value of my IIF criteria (I think) and secondly, if I try to add
the code on the "On Open" event of the report, I get the message "Method or
Data member not found".
To reiterate my goal... I have several text boxes which I want either hidden
or the borders changed to transparent if a field on the report meets a set
criteria. When the report is run, there are on average 60 pages. 50% of
these will need the text boxes hidden.
Many thanks for your responses
Mark
"Arno R" <ar************ ****@tiscali.nl > wrote in message
news:42******** **************@ dreader2.news.t iscali.nl...
Mark,
I don't quite understand what you are trying to do but if you would like to
show / hide controls depending on a condition then you need something like:
If condition =True then
Me!TextBox1.vis ible = True
else
Me!TextBox.visi ble = False
end if
Or even in 1 line: Me!TextBox.visi ble = Condition
--
Hope this helps
Arno R
"Mark" <ma**********@n tlworld.com> schreef in bericht
news:0P******** *******@newsfe3-win.ntli.net... Hi All, I have a report which is based on a query which is used to produce QC check sheets. I have quite a few text boxes which are used to display questions depending on the value of one particular field which will have either a "H" or "B" value.
e.g. =IIf([ppactyp]="H"," Does the multipack Qty match the paperwork"," Is the outer label positioned correctly")
My problem is that there are more questions for hanging types than boxed. Where I have run out of questions for boxed, I have set the IIF statement to display "" but I would really like to hide the text box. I was hoping to do this with conditional formatting but as far as I can see, you cannot change borders this way.
Has anyone got any ideas?
TIA
Mark
Mark,
You must put similar code in the following event: >>> Details_Print
Private Sub Details_Print(C ancel As Integer, PrintCount As Integer)
If Me!WhateverFiel d.condition =True then
Me!TextBox1.vis ible = True
else
Me!TextBox.visi ble = False
end if
end sub
--
Hope this helps
Arno R
"Mark" <ma**********@n tlworld.com> schreef in bericht news:sK******** **@newsfe3-win.ntli.net... Hi Arno, I know how to do this on forms using the method you've described but firstly, an event does not exist on reports that will look at each page to check the value of my IIF criteria (I think) and secondly, if I try to add the code on the "On Open" event of the report, I get the message "Method or Data member not found". To reiterate my goal... I have several text boxes which I want either hidden or the borders changed to transparent if a field on the report meets a set criteria. When the report is run, there are on average 60 pages. 50% of these will need the text boxes hidden. Many thanks for your responses Mark "Arno R" <ar************ ****@tiscali.nl > wrote in message news:42******** **************@ dreader2.news.t iscali.nl... Mark, I don't quite understand what you are trying to do but if you would like to show / hide controls depending on a condition then you need something like: If condition =True then Me!TextBox1.vis ible = True else Me!TextBox.visi ble = False end if Or even in 1 line: Me!TextBox.visi ble = Condition -- Hope this helps Arno R "Mark" <ma**********@n tlworld.com> schreef in bericht news:0P******** *******@newsfe3-win.ntli.net... Hi All, I have a report which is based on a query which is used to produce QC check sheets. I have quite a few text boxes which are used to display questions depending on the value of one particular field which will have either a "H" or "B" value.
e.g. =IIf([ppactyp]="H"," Does the multipack Qty match the paperwork"," Is the outer label positioned correctly")
My problem is that there are more questions for hanging types than boxed. Where I have run out of questions for boxed, I have set the IIF statement to display "" but I would really like to hide the text box. I was hoping to do this with conditional formatting but as far as I can see, you cannot change borders this way.
Has anyone got any ideas?
TIA
Mark
Will the text box be blank or empty if it is not used? I often use the tag
property of text boxes to define when they will be hidden.
In one instance, in the detail section of a report, any of the text boxes I
want to be able to hide if they are blank I set their tag propery to include
"H". Then during the detail format event, I loop through all of my text
boxes on the report and check if they are blank and their tag property
includes "H". If so, I hide them.
Is this what you are looking for?
Jim
"Mark" <ma**********@n tlworld.com> wrote in message
news:0P******** *******@newsfe3-win.ntli.net... Hi All, I have a report which is based on a query which is used to produce QC check sheets. I have quite a few text boxes which are used to display questions depending on the value of one particular field which will have either a "H" or "B" value.
e.g. =IIf([ppactyp]="H"," Does the multipack Qty match the paperwork"," Is the outer label positioned correctly")
My problem is that there are more questions for hanging types than boxed. Where I have run out of questions for boxed, I have set the IIF statement
to display "" but I would really like to hide the text box. I was hoping to
do this with conditional formatting but as far as I can see, you cannot
change borders this way.
Has anyone got any ideas?
TIA
Mark
----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==---- http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
The text box/s are filled with a zero length string. This doesn't have to be
the case, I just chose this so that nothing was displayed in the text box.
The next stage is hiding them. The tag property you refer to is new to me so
if your suggestion can be used, I'm afraid I'll need an idiots guide :o(
Thanks,
Mark
"J. Clay" <jim@N0_LCPmugs _Spam.com> wrote in message
news:42******** **@127.0.0.1...
Will the text box be blank or empty if it is not used? I often use the tag
property of text boxes to define when they will be hidden.
In one instance, in the detail section of a report, any of the text boxes I
want to be able to hide if they are blank I set their tag propery to include
"H". Then during the detail format event, I loop through all of my text
boxes on the report and check if they are blank and their tag property
includes "H". If so, I hide them.
Is this what you are looking for?
Jim
"Mark" <ma**********@n tlworld.com> wrote in message
news:0P******** *******@newsfe3-win.ntli.net... Hi All, I have a report which is based on a query which is used to produce QC check sheets. I have quite a few text boxes which are used to display questions depending on the value of one particular field which will have either a "H" or "B" value.
e.g. =IIf([ppactyp]="H"," Does the multipack Qty match the paperwork"," Is the outer label positioned correctly")
My problem is that there are more questions for hanging types than boxed. Where I have run out of questions for boxed, I have set the IIF statement
to display "" but I would really like to hide the text box. I was hoping to
do this with conditional formatting but as far as I can see, you cannot
change borders this way.
Has anyone got any ideas?
TIA
Mark
----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet
News==---- http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+
Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
Unable to responde extensively at this point, but you can search for Tag in
the help files and it will give you a start.
Jim
"Mark" <ma**********@n tlworld.com> wrote in message
news:ZM******** *******@newsfe5-win.ntli.net... The text box/s are filled with a zero length string. This doesn't have to
be the case, I just chose this so that nothing was displayed in the text box. The next stage is hiding them. The tag property you refer to is new to me
so if your suggestion can be used, I'm afraid I'll need an idiots guide :o(
Thanks,
Mark
"J. Clay" <jim@N0_LCPmugs _Spam.com> wrote in message news:42******** **@127.0.0.1... Will the text box be blank or empty if it is not used? I often use the
tag property of text boxes to define when they will be hidden.
In one instance, in the detail section of a report, any of the text boxes
I want to be able to hide if they are blank I set their tag propery to
include "H". Then during the detail format event, I loop through all of my text boxes on the report and check if they are blank and their tag property includes "H". If so, I hide them.
Is this what you are looking for? Jim
"Mark" <ma**********@n tlworld.com> wrote in message news:0P******** *******@newsfe3-win.ntli.net... Hi All, I have a report which is based on a query which is used to produce
QC check sheets. I have quite a few text boxes which are used to display questions depending on the value of one particular field which will have either a "H" or "B" value.
e.g. =IIf([ppactyp]="H"," Does the multipack Qty match the paperwork","
Is the outer label positioned correctly")
My problem is that there are more questions for hanging types than
boxed. Where I have run out of questions for boxed, I have set the IIF
statement to display "" but I would really like to hide the text box. I was hoping to do this with conditional formatting but as far as I can see, you cannot change borders this way.
Has anyone got any ideas?
TIA
Mark
----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==---- http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups ----= East and West-Coast Server Farms - Total Privacy via Encryption
=----
----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==---- http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =---- This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: dmiller23462 |
last post by:
Hi guys....I have absolutely NO IDEA what I'm doing with Javascript
but my end result is I need two text boxes to stay hidden until a
particular option is selected....I've cobbled together the JavaScript
in this code from a couple different sites but I'm not 100% sure what
each line is doing...This is the ASP code that I'm using for the
page....Take a look at the JavaScript code and please let me know what
each line is doing....I have been...
|
by: Jayjay |
last post by:
I've got a report that has a series of unbound text boxes that are
being populated by some variables in code.
The format is supposed to be a currancy format, but on a certain
series of boxes, I need add " ** " or something to denote those
particular boxes so they can get the reader to see the footnote for
those figures.
The report is currently setup to put the text in those boxes in red.
This is all well and good on the screen - but...
|
by: Edson Peacock |
last post by:
I have a report with sub reports, one of the subreports have 12 text boxes
that are 2" high and I want them all to grow if one goes to 3" high.
If anyone has any suggestions they are very much appreciated.
Thanks
|
by: ckpoll2 |
last post by:
Hello,
I have a report and am having a hard time summing some numbers. In the detail section of the report, I have 2 text boxes that have IIF statements in them. These IIF statements return numbers, either a positive number or 0. In the Name Footer, I am trying to sum all the occurrances of Text18 and Text19, the two IIF text boxes in the detail. I type =sum(), but when I run the report, I am first prompted with a pop-up text box with the...
|
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.
It seems the simplest thing is to run the code (see below) once with
the detail section showing, and a second time hiding the detail
section. I can't figure out the code to do that and don't see it
posted.
| |
by: Andrew Meador - ASCPA, MCSE, MCP+I, Network+, A+ |
last post by:
I have created a report. This report needs to display records
between two dates entered by the user. I put two text boxes on the
report so I can enter the start and end date - I set them to use an
input mask of 'short date' format. The problem is that when I enter
anything in these text boxes, as soon as the field looses focus, the
text is cleared out - thus the text box is left blank. I have a button
on the form that calls the requery...
|
by: NJonge01 |
last post by:
Hi,
I'd like to produce a report that basically looks like an excel printout.
Description:
Profile Print Report
Detail Section with 3 bordered text boxes
all text boxes are 'abutted' against each other (where one ends, the next begins)
all text boxes have the 'can grow' property set to yes.
Detail Section with 'can grown' = yes
|
by: noe1818 via AccessMonster.com |
last post by:
Just a quick question about lines:
Is it possible to connect a text box (e.g. txtbx1 to txtbx2 and txtbx2 to
txtbx3) with lines where txtbx1,2,&3 move up or down according to their
values? Like have access find the location of each txtbx and draw a line from
it to the other textbox?
Thanks
--
|
by: ofilha |
last post by:
I have created a report in design mode. However, some of the fields i need are dynamic. That is, i have a series of fields text boxes mostly that must show up only as needed. I also have some labels that also should dynamic depending on the text boxes. I first tried createReportcontrol during the OnOpen event for the report,and when i tried to run it, it would give me an error 2147, that i must be in design view in order to create or delete...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
| |
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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 we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |