|
Go
![]() |
New
![]() |
Search
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Member |
Hi All,
i need to generate a html that holds the values in a dropdown menu. the selected values from the html should go as an input to another fex file. I have no idea of how to do it. Is it anyway possible? Webfocus 7.1.3 OS: WindowsXP |
||
|
|
Master |
Suresh,
Here is a very short example: -* File ibifil.fex -* This creates a file of HTML options for a list box. The file is an ASCII file and its name is SOPT DEFINE FILE CAR NSEAT/I1=SEATS; ASEAT/A1=EDIT(NSEAT); RBSEATS/A30 ='<option value="' | ASEAT | '">' | ASEAT | '</option>'; END SET HOLDLIST=PRINTONLY TABLE FILE CAR BY RBSEATS ON TABLE SAVE AS SOPT END -RUN -* This creates the HTML which will include the SOPT file and execute the fex IBIEX -HTMLFORM BEGIN <form method="POST" action="/ibi_apps/WFServlet" > <input type='hidden' name='IBIF_ex' value="ibiex.fex"> <Select name='SEATS' size=1> !IBI.FIL.SOPT; </SELECT> <INPUT TYPE='submit' NAME='Submit' VALUE='Submit'> -HTMLFORM END The IBIEX.fex: -* File ibiex.fex TABLE FILE CAR SUM SALES BY COUNTRY IF SEATS EQ &SEATS END |
|||
|
|
Platinum Member |
If you use html painter in dev studio, it's easy enough.
Assign an amper variable to hold the input data to your main fex. Then on html layout painter add the control to display your report. It will prompt you for the control to use for your &var. Pick the drop-down control. Then on the parameters tab on the right, choose how you want to populate the drop-down box - either by master or by fex. If you need to create a fex to produce the data to put on the drop-down, then create the fex like Danny's first Table request above and put that fex name on that drop-down parameter. Good luck. WF 7.1.3 WinXP |
|||
|
| Previous Topic | Next Topic | powered by eve community |
| Please Wait. Your request is being processed... |
|

