473,461 Members | 2,025 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Ho to hide a row(s) using a radio button?

Microblitz
I need to create a completely different form layout depending on the setting of a boolean switch (Radio button) on a form.

I have added a boolean radio button to the layout called AltForm and I was going to use the visibility property to hide or show the rows as I would do in vidual basic. Only I can't seem to figure out how to change the property. The parameter textboxt10.visible does nothing except cause a syntax error.
I had wanted to do somthing like this;

Expand|Select|Wrap|Line Numbers
  1. =IIF(Parameters!AltForm.Value = True,Textbox10.visible = False,Textbox10.Visible = True );"For " + IIF(Parameters!ShowTrans.Value = "All Quotations","Quotations","Orders") & " Due between " & Format(Parameters!StartDate.Value,"d MMM yyyy") & " and " & Format(Parameters!EndDate.Value,"d MMM yyyy") & IIF( Parameters!ShowTrans.Value = "With Stock On Hand",", only showing products with stock available","") & IIF( Parameters!Customer.Value = -1,"",", for customer " & First(Fields!CustomerDescription.Value, "CustomerDisplay")) & Code.ShowProductType( Parameters!ProductType.Value)
  2.  
But Visible causes a syntax error.
Nov 22 '10 #1
4 1791
ck9663
2,878 Expert 2GB
This would depend on the front-end tool that you used. Try posting it to the proper forum and they might be able to help you more.

Good Luck!!!

~~ CK
Nov 22 '10 #2
Where do you suggest?

Visual Basic?
VBS
SQL
Microsoft SQL Report services
Visual studio
Nov 23 '10 #3
gpl
152 100+
What is your front end tool ?
Nov 23 '10 #4
visual studio.
Nov 24 '10 #5

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

Similar topics

3
by: Thomas Abraham | last post by:
Hi, The following code to show and hide a row works fine in netscape 7 and IE 6. But everytime the cell is hidden and displayed in netscape, it adds a new line inside the cell. Please advise....
1
by: Don Grover | last post by:
I have a table thats wrapped in a div tag, that when user selects 1 of 2 radio buttons it hides or shows table, this works ok. But I want to set the table show hide on what the existing state of...
5
by: sam | last post by:
Hi all, I am dynamically creating a table rows and inerting radio buttons which are also dynamically created. Everything works fine in Firefox as expected. But I am not able to select radio...
10
by: IchBin | last post by:
I am trying to set the state of a radio button. I do not see what I am doing wrong. Sorry, I am new at this.. I need another set of eyes to look at this snip of code. I am trying to set the radio...
3
by: Milsnips | last post by:
hi there, i have a repeater which returns me a list of addresses in each repeaterItem row. at the end of each row i have a radiobutton, which i want the user to select the "active" address. ...
2
by: iwasjoeking | last post by:
Hi all, I am trying to make it so that the style "RowSelected" (embedded below) is applied to the table row from which the radio button is selected, and then removed when a different radio...
1
by: hellogohel | last post by:
hi all, how do i display in detailview that is selected from gridview radiobutton? coding dynamically thanks in advance
2
by: makunta | last post by:
Hi all, First here is the website of what I am trying to do: http://www.exmhosting.com/ Locate the login form on the top-right of the page. What I need to do is allow the user to sign into...
0
by: jitsbytes | last post by:
Hi, I am using Struts (1.2) framework. I am using Display Tag of struts. My problem is as below: I have a page where I am displaying three tables using "display:table" tag of struts, the values...
5
by: Dan Boyce | last post by:
Hi Everyone. It may be simple, I dunno... I never had to do this before and for the life of me I can't find anything on the net so far. I have a radio button group (which I'll post after this...
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
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
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: 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?

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.