1
0
-1

Hii,

In the datalist hyperlink action, can we put the value of the hyperlink parameter as the value of the query result column

ex:
If I have a query 
select id,'subform1' as HyperlinkValue from app_fd_table1

union 

select id,'subform2' as HyperlinkValue from app_fd_table2

Can we put the value of the HyperLinkValue column in the Hyperlink parameter or it should be static?


    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      Hi, I believe it should be the column name HyperlinkValue as described in the Hyperlink Parameters header. Did you try that and does it work, or are you getting some error?

      1. Issa

        I tried the code below and put HyperlinkValue in the hyperlink textbox but when the user clicks on it it will redirect to /HyperlinkValue not one of the options in the query (subform1,subform2)

        ex:
        If I have a query 
        select id,'subform1' as HyperlinkValue from app_fd_table1

        union 

        select id,'subform2' as HyperlinkValue from app_fd_table2

        So if I have 3 form options I must create 3 action column and use the visibility option but it will stay appear as 3 columns

      CommentAdd your comment...