I am trying to populate the dropdown using procedure in html layout painter.
the mas file name is EXPENSE_CENTER SET HOLDLIST=PRINTONLY FILEDEF TEMP_EXPCTR DISK TEMP_EXPCTR.FTM (APPEND -RUN TABLE FILE EXPENSE_CENTER PRINT COMPUTE V_COMPUTE/A71= EXPCTR_ID|' '|EXPCTR_DESC ; ON TABLE HOLD AS TEMP_EXPCTR FORMAT ALPHA END TABLE FILE EXPENSE_CENTER SUM COMPUTE V_COMPUTE/A71= ' '|EXPCTR_GRP_N ; BY EXPCTR_GRP_N NOPRINT WHERE EXPCTR_GRP_N NE '' ON TABLE HOLD AS TEMP_EXPCTR FORMAT ALPHA END The name i have given to this procedure is test_54844 I want to get the drop down get populated with the values in the v_compute variable. when i am using the dynamic procedure option in html layout printer and when i am invoking this procedure i am not able to populate the dropdown. I want how to use the dropdown population using procedure.
please help me in this regard it's very urgent.
Regards, Balaji
October 18, 2006, 08:22 AM
kalyanswarna
Balaji,
you havn't define any parameter(filter) in your code. with out Defining how it will show.
am i right.
Thanks, Kalyan
Thanks, Kalyan.S ------------------------------------ WebFOCUS 7.1.4, Win XP SP2, Oracle8i. ------------------------------------
October 18, 2006, 09:09 AM
Balaji Gavini
hi kalyanswarna, can you please elaborate on this
October 18, 2006, 10:44 AM
Prarie
You need an & variable to populate.
TABLE FILE CAR PRINT CAR IF CAR EQ &CAR END
Once you have that...edit your fex in resource layout...and it should help you with the DropDown box.
Do some searches on & amper variables for guidance.This message has been edited. Last edited by: Prarie,
In Focus since 1993. WebFOCUS 7.7.03 Win 2003
October 18, 2006, 09:20 PM
Piipster
You haven't specified what release you are working in. This information is from the R713 manual.
You have the option to allow customized retrieval of dynamic parameter values. By using a custom procedure, you can use the FOCUS language to utilize temporary HOLD files, filtering, etc. This allows the HTML Layout Painter to better integrate with a multitude of large and/or proprietary data sources that may require unique retrieval methods. The procedure must meet the following criteria: ❏ The procedure must return a name and value pair for each parameter value that will populate the list. The first value is the submission value which is passed to the form control when the user clicks the Submit button. The second value is the display value which is what the user will see in the control. These two values can be the same or different. ❏ The procedure must return the two data values on a single data line in XML format (PCHOLD FORMAT XML).
ttfn, kp
Access to most releases from R52x, on multiple platforms.
October 18, 2006, 09:21 PM
Piipster
BTW.. that's page 5-68 in
Developing Reporting Applications With Graphical Tools Version 7 Release 1.3 DN4500724.0206
ttfn, kp
Access to most releases from R52x, on multiple platforms.
October 19, 2006, 01:22 AM
kalyanswarna
Hi Balaji,
by using the amper variable you can definr dynamic varibles. try this code in your environment. -DEFAULT &Country ='JAPAN' TABLE FILE CAR -*&Country IS THE AMPER VARIABLE PRINT COUNTRY CAR MODEL WHERE COUNTRY EQ '&Country'; ON TABLE NOTOTAL ON TABLE SET HTMLCSS ON END
Thanks, Kalyan
Thanks, Kalyan.S ------------------------------------ WebFOCUS 7.1.4, Win XP SP2, Oracle8i. ------------------------------------
October 26, 2006, 01:18 PM
Kerry
Hi Balaji,
Has this issue been resolved? Did other's suggestions help you? Many thanks for all helped here.
If this is an urgent issue and you need an immediate answer, as always, please contact Information Builders' Customer Support Services for immediate assistance at any time. The phone number is 1-800-736-6130, or you may access the online system InfoResponse at http://techsupport.ibi.com. Here is a list of information to be ready when you call: http://techsupport.ibi.com/before_you_call.jsp.
Hope this helps.
Cheers,
Kerry
Kerry Zhan Focal Point Moderator Information Builders, Inc.