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.
my aim is to build an editable html table. And i have a column with 4 possible values. I want to change these values with a dropdown box which is prefilled with a value. Now i am looking for a way to populte the other possibilities in the drop down box for each row. Hope this is not to confusing!!!
TABLE FILE CAR
PRINT
COMPUTE CAR/A800='<input type="text" name="DATE3" onblur="return window.parent.alpha(event,window.parent.letters+window.parent.numbers+window.parent.signs+window.parent.mathsigns+window.parent.custom);" onkeypress="return window.parent.alpha(event,window.parent.letters+window.parent.numbers+window.parent.signs+window.parent.mathsigns+window.parent.custom);" onkeyup="return window.parent.alpha(event,window.parent.letters+window.parent.numbers+window.parent.signs+window.parent.mathsigns+window.parent.custom);" value="'||CAR||'" >'; AS 'Marke'
COMPUTE MODEL/A800='<input type="text" name="DATE4" onblur="return window.parent.alpha(event,window.parent.letters+window.parent.numbers+window.parent.signs+window.parent.mathsigns+window.parent.custom);" onkeypress="return window.parent.alpha(event,window.parent.letters+window.parent.numbers+window.parent.signs+window.parent.mathsigns+window.parent.custom);" onkeyup="return window.parent.alpha(event,window.parent.letters+window.parent.numbers+window.parent.signs+window.parent.mathsigns+window.parent.custom);" value="'||MODEL||'" >'; AS 'Model'
COMPUTE BODYTYPE/A800='<input type="text" name="VERTEILERLISTE" onblur="return window.parent.alpha(event,window.parent.letters+window.parent.numbers+window.parent.signs+window.parent.mathsigns+window.parent.custom);" onkeypress="return window.parent.alpha(event,window.parent.letters+window.parent.numbers+window.parent.signs+window.parent.mathsigns+window.parent.custom);" onkeyup="return window.parent.alpha(event,window.parent.letters+window.parent.numbers+window.parent.signs+window.parent.mathsigns+window.parent.custom);" value="'||BODYTYPE||'" >'; AS 'Type'
-*COMPUTE BODYTYPE/A400=IF BODYTYPE EQ &BODYTYPE.&I1 THEN '<SELECT id="R" name="R">'|| '<OPTION value=Value1 selected displaytext="'|| BODYTYPE || '">'|| BODYTYPE || '</OPTION>'|| '<OPTION value=Value2 displaytext="'|| &BODYTYPE.&I1 || '">'|| &BODYTYPE.&I1 || '</OPTION>'|| '<OPTION value=Value3 displaytext="'|| BODYTYPE || '">'|| BODYTYPE || '</OPTION>'|| '<OPTION value=Value4 displaytext="'|| FTOA(DEALER_COST,'(D12)','A16') || '">'|| FTOA(DEALER_COST,'(D12)','A14') || '</OPTION></SELECT>' ; AS 'test'
COMPUTE BODYTYPE/A400='<SELECT id="R" name="R">'|| '<OPTION value=Value1 selected displaytext="'|| BODYTYPE || '">'|| BODYTYPE || '</OPTION>'|| '<OPTION value=Value2 displaytext="'|| BODYTYPE || '">'|| BODYTYPE || '</OPTION>'|| '<OPTION value=Value3 displaytext="'|| BODYTYPE || '">'|| BODYTYPE || '</OPTION>'|| '<OPTION value=Value4 displaytext="'|| BODYTYPE || '">'|| BODYTYPE || '</OPTION></SELECT>' ; AS 'test'
-*-EXIT
-*ON TABLE SUBFOOT
ON TABLE SET LINES 99999
ON TABLE SET PAGE NOLEAD
ON TABLE PCHOLD AS DETAIL FORMAT HTMTABLE
-*ON TABLE PCHOLD FORMAT HTML
ON TABLE SET STYLE *
GRID=OFF,$
BACKCOLOR=RGB(123 159 209),$
TYPE=REPORT, BACKCOLOR=RGB(123 159 209),$
-*TYPE=TABFOOTING, JUSTIFY=RIGHT,$
ENDSTYLE
-*- ? &
-*-EXIT
END
Thanks to all
ChristianThis message has been edited. Last edited by: Kerry,
WF Production Version: 7.7.02M WF Test Version: 7.7.02M Developer Studio: 7.7.02 HTML, EXL2K, FLEX, PDF,PPT
Christian, I see your drop down. I see that it always contains the same value repeated. I am guessing that you do not want that, but want each unique bodytype.
If that is the case then try the following. In a separate query build the html for the drop down and -READ it into the the next query.
thanks for your solution!! It is quite close to my needs. The problem is that the column in this case test is prefilled with a value let,s say sedan or convertible and i want to be able to change it to the other possibilities.
Thanks
christian
WF Production Version: 7.7.02M WF Test Version: 7.7.02M Developer Studio: 7.7.02 HTML, EXL2K, FLEX, PDF,PPT