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. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at email@example.com and provide your corporate email address, company, and name.
Hello all, may be somebody faced with js problems for multiple dropdown boxes? I have quite complicated logic in HTML composer code for dropdown box with attribute multiple. And I have to analyze type of controls, get attribute values or use following constructions:
text_val = frame.getElementById("lst_name").value , where
(for parameter screen I have to use tabs and frame for second tab runs other html page with controls). Html source was created in Developer studio and works fine, but if save it in App studio (126.96.36.199), the most of js code becomes unworkable for this control(for text or select-one controls such code works fine). for some cases I can use IbComposer functions (for example, .value could be replaced with IbComposer_getCurrentSelection function), but not in case of calling from other source or analyze of type or attribute values. Could you, please, help me? Thank you.This message has been edited. Last edited by: FP Mod Chuck,
Obvious: IDK... JS: is there a need for JS to do this?... Cake: I Like Cake... "ensure your WHERE statement in your procedure supports multi-select": Fine.
I created a parser (fex) in a few cases to loop thru the incoming variable from an 'edit' control where the user would separate their criteria with commas (EX: commsc%,%USA%,%tech% ) and create the complete WHERE statement within that loop: WHERE THISFIELD LIKE 'COMMSC%' OR '%USA%' OR 'TECH%'. Sometimes you just gotta do what you gotta do...
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005