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     (SOLVED) Dynamically change !IBI.FIL

Read-Only Read-Only Topic
Go
Search
Notify
Tools
(SOLVED) Dynamically change !IBI.FIL
 Login/Join
 
Master
posted
I have a very simple launch page. Only selections are year type and year.

Year Type is State Fiscal Year (default) and Federal Fiscal Year.

I have 2 files that hold the appropriate years. SFYLIST and FFYLIST. The page displays fine. The problem I am having is changing year files when the year type changes:

Here's what I have:
  <tr>
    <td width="20%" height="9">
      <p align="left"</p><font face="Arial" size="2">[b]Year Type:[/b]</font><br>
        <select name="YRTYPE" id="YrType" size="2" onChange="chgYrFile()">
          <option value="1" selected>State Fiscal Year</option>
          <option value="2">Federal Fiscal Year</option>
        </select>
    </td>
    <td width="30%" height="9">
      <p align="left">[b]<font face="Arial" size="2">Select Year:</font>[/b]<br>
        <Select size=2 name='RPTYR' id="YrFile">
!IBI.FIL.SFYLIST;
        </select>
      </p>
    </td>
  </tr>


I am trying to write a little javascript function named chgYrFile() to change the SFYLIST to FFYLIST.

Any help or suggestions would be appreciated.

Thanks

This message has been edited. Last edited by: jgelona,


In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
 
Posts: 975 | Location: Oklahoma City | Registered: October 27, 2006Report This Post
Expert
posted Hide Post
I'd include "F" and "S" (for federal and State) in a file and chain it from your radio button (or whatever the selection control is). That way the listbox, or whatever that control is, will change when the radio button changes. I hope this makes sense to you, it's quite clear in my mind...
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Master
posted Hide Post
I took a different approach. Wrote a javascript function that based on the current date and year type selected, computes and builds the year list.


In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
 
Posts: 975 | Location: Oklahoma City | Registered: October 27, 2006Report This Post
Expert
posted Hide Post
If that works for you, then so be it... Smiler
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report 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     (SOLVED) Dynamically change !IBI.FIL

Copyright © 1996-2020 Information Builders