TIAThis message has been edited. Last edited by: Tamra,
yes, i call them 'drill-ups' and i gave a presentation on this at Summit last year and at the NE Users Group. Note that the key in passing parms is the escape character | to make focus ingnore the &.
DRILLUP/A600 = ''"http://servername/cgi-bin/ibi_cgi/webapi.dll?'|
'"windowname", "width=380,scrollbars=yes, ' |
' resizable=yes, top=100,left=300, height=550") '''' >click here'This message has been edited. Last edited by: <Mabel>,
thanks - didn't quite use that technique but you gave me an idea on how to do it. another question - once you have your list in the pop-up window - if it is a drilldown, is there a way to pass the variable back to the original window? right now if i use the drilldown to call another focexec, it opens in the pop-up window.
cool. can you tell me how you ended up doing it?
I'm not sure i understand your question about 'passing back'...your series of drill downs can be recursive...your can reload/re-execute your originating page by running a fex that relaunches the entire frame set.
so when user presses button, function executed and pop-up window displays w/the focexec and it's drilldowns. what i want to happen is, when user selects drill-down element, pop-up window closes, all variables from drilldown fex are passed back to originating fex and fex re-executes in origianl fullscreen window. i'm not quite sure where to put the code to do that. what happens now is drilldown executes original fex, but it opens in the pop-up window and not in the original fullscreen window. hope this was clear! thx
I have just uploaded an example of what I created.
Check it out, it's called popup.zip.
You can specify the target value in the pop-up window's form element like '_parent' from where you want to go the main window. Now when you selects drill-down element in the pop-up window this will be executed and displayed in the main window. This will work, if you only the FORM submit when user click the drilldown.
Otherwise, you can get the drilldowns result into the main window, requires you to name the main window. In the main window do:
-- begin java script
window.name = 'mymainwindow';
-- end java script
Then you can target the main window from pop-up window as:
<a href="/cgi-bin/ibi_cgi/ibiweb.exe?IBIF_ex=drillfex¶ms" target="mymainwindow">DrillValue1</a>
Hope this will help you!
If those are the only acceptable values, you can use a <SELECT> list (generated by a focexec) instead of a text input.
This discussion sounds like it might address what I want to do...
If I understand this discussion, I can open another, smaller window on top of my main form to accomplish this.
This is not a drilldown case. In my focexec I have:
TABLE FILE mytable
WHERE that = '&value_from_the_form'
ON TABLE HOLD
-SET &R1 = &RECORDS;
-IF &R1 EQ 0 GOTO OK;
pop up the little window letting them know the query found something and giving them yes/no buttons to proceed or not.
Can someone post an example of how to pull this off? Much obliged.
the link to the example is not working. Can you please explain us the method or the example.
Thanks in advance
I am following up with you regarding this post - pop-up window.
The original post is very old. The URL supplied is also very old and certainly is app to change over time. Plus, the way things are handled within WebFOCUS have changed too.
I think I would be best if you open a new topic and add you own scenario - even reach to TexasStingray and ask if the URL is still relevant. He is still an active member.
You might get more responses from members this way.
Thank you for participating in the Focal Point Forum.
Focal Point Moderator
Information Builders Inc.
* Summit 2016 – June 13-17 in Reno, Nevada - http://www.informationbuilders.com/events/summit
WebFOCUS 8x - BI Portal, Developer Studio, App Studio, Excel, PDF, Active Formats and HTML5
|Powered by Social Strata|