Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     very urgent please help,regarding the procedures

Read-Only Read-Only Topic
Go
Search
Notify
Tools
very urgent please help,regarding the procedures
 Login/Join
 
Member
posted
hi,

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
 
Posts: 24 | Registered: October 05, 2006Report This Post
Platinum Member
posted Hide Post
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.
------------------------------------
 
Posts: 155 | Location: Bangalore. | Registered: January 24, 2006Report This Post
Member
posted Hide Post
hi kalyanswarna,
can you please elaborate on this
 
Posts: 24 | Registered: October 05, 2006Report This Post
Virtuoso
posted Hide Post
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
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Guru
posted Hide Post
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.
 
Posts: 346 | Location: Melbourne Australia | Registered: April 15, 2003Report This Post
Guru
posted Hide Post
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.
 
Posts: 346 | Location: Melbourne Australia | Registered: April 15, 2003Report This Post
Platinum Member
posted Hide Post
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.
------------------------------------
 
Posts: 155 | Location: Bangalore. | Registered: January 24, 2006Report This Post
Expert
posted Hide Post
Hi Balaji,

Has this issue been resolved? Did other's suggestions help you? Many thanks for all helped here. Smiler

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. Big Grin

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
 
Posts: 1948 | Location: New York | Registered: November 16, 2004Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     very urgent please help,regarding the procedures

Copyright © 1996-2020 Information Builders