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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Microblitz
    New Member
    • Jul 2010
    • 40

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

    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.visi ble does nothing except cause a syntax error.
    I had wanted to do somthing like this;

    Code:
    =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)
    But Visible causes a syntax error.
  • ck9663
    Recognized Expert Specialist
    • Jun 2007
    • 2878

    #2
    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

    Comment

    • Microblitz
      New Member
      • Jul 2010
      • 40

      #3
      Where do you suggest?

      Visual Basic?
      VBS
      SQL
      Microsoft SQL Report services
      Visual studio

      Comment

      • gpl
        New Member
        • Jul 2007
        • 152

        #4
        What is your front end tool ?

        Comment

        • Microblitz
          New Member
          • Jul 2010
          • 40

          #5
          visual studio.

          Comment

          Working...