=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= SEARCHDOMINO.COM | Developer Tip November 25, 2002 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= FROM OUR SPONSOR: Try FleXML for XML to Notes Integration today! Free Trial! http://searchDomino.com/r/0,,7782,00.htm?stonepondsoftware
******************************************************************** IN THIS ISSUE | Table of Contents 1. DEVELOPER TIPS - Featured tip: Show or hide a subform from inside a form - Recently posted developer tips 2. IMPORTANT ANNOUNCEMENTS AND LINKS - Webcast archive: ND6 App Dev webcast archive - Take our poll: What other certifications do you hold? - Best Web Links: application development - Developer Forum - SearchDomino.com Search Engine _____________________________________________________________________ ***********>>> SPONSORED BY STONEPOND SOFTWARE <<<****************** Need to move XML data into Notes? If so, then you need FLeXML! FleXML is a powerful tool that helps you rapidly and efficiently convert any XML data into Lotus Notes in a matter of minutes. It automatically generates Notes documents, regardless of where the XML data is coming from. FleXML takes the complexity out of XML data integration and provided and easy-to -use tool to rapidly tranfer your data into the format you need! Try it for yourself...Download a free trial at: http://searchDomino.com/r/0,,7782,00.htm?stonepondsoftware =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= SHOW OR HIDE A SUBFORM FROM INSIDE A FORM | Francesco Sarzana Ever used a "Computed Subform" in your form to show a chunk of data, and want to change or hide this subform from INSIDE the form (without exiting and reloading the form)? This tip is useful if you want subforms loaded or not (or different subforms loaded) based, for example, on an environmental variable, and change them on-the-fly with an action bar on the form itself. Here's how to do it: 1. Open the form "myForm" 2. Create a Computed Subform with the formula: @If(@Environment("myVar") = "Y" ; "Sub1" ; "Sub2") 3. Create two Actions with the following formulas, respectively: "Show Sub1" @Environment("myVar" ; "Y"); @Command( [ViewSwitchForm] ; "myForm" ) and "Show Sub2" @Environment("myVar" ; "N"); @Command( [ViewSwitchForm] ; "myForm" ) Now you can open the form "myForm" and click on the two action buttons to switch between the two subforms, or you can substitute "Sub2" with "" in the Computed subfrom formula to toggle between hide/show of Sub1 subform. Be sure to switch to the SAME form (myForm)! This option for hide/show of chunks of data is much more efficient than having a section with hide-when formulas, because the section is ALWAYS loaded and THEN hidden, while a Computed Subform is NOT loaded if the formula results in a blank string. If Sub1 contains, for example, an embedded view, you can imagine the performance improvement... Do you have comments or questions about this tip? Bring them to our developer discussion forum. >>CLICK here to enter the developer discussion forum: http://searchdomino.discussions.techtarget.com/WebX?50@@.ee7740b =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= RECENTLY POSTED DEVELOPER TIPS | SearchDomino Tips Agent category: http://searchdomino.techtarget.com/tipsIndex/0,289482,sid4_tax283834_alpD_idx0,00.html [1] Agent to replace Date field values Domino category: http://searchdomino.techtarget.com/tipsIndex/0,289482,sid4_tax283837_alpD_idx0,00.html [1] 65kb limit on comboboxes JavaScript category: http://searchdomino.techtarget.com/tipsIndex/0,289482,sid4_tax283840_alpD_idx0,00.html [1] Checking for Edit Mode on the web [2] @replace function for JavaScript [3] Show single category view, the next stage Other category: http://searchdomino.techtarget.com/tipsIndex/0,289482,sid4_tax283842_alpD_idx0,00.html [1] Simple way to avoid the dialog list synonym blues Script category: http://searchdomino.techtarget.com/tipsIndex/0,289482,sid4_tax283841,00.html [1] Force a timed delay in your script code >>See all SearchDomino Developer Tips here: http://searchdomino.techtarget.com/tips/0,289484,sid4_tax283833,00.html =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= ::::::::::: DON'T MISS THESE IMPORTANT MESSAGES AND LINKS ::::::::: _____________________________________________________________________ =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= ND6 APP DEV WEBCAST ARCHIVE | SearchDomino.com If you missed our live expert webcast last week with Dave Hatter and Tim Bankes on the ND6 Application Development Update, it's not too late. Simply log on at your leisure and enjoy the show! Look for the follow-up Q & A with Hatter and Bankes soon on SearchDomino.com. >> View the archive here: http://searchdomino.techtarget.com/webcastsTranscriptSecurity/1,289693,sid4_gci862698,00.html =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= TAKE OUR POLL | SearchDomino.com Will the new features for application development in ND6 make your job easier? >> Vote here: http://searchdomino.techtarget.com/poll =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= BEST WEB LINKS: APPLICATION DEVELOPMENT | SearchDomino.com Developer diehards, take heart. Whether its LotusScript, @Functions, Agents or frames, we guarantee you'll find what you need. You can also find the latest on eSuite, Sametime and other technologies. >> EXPLORE the Best Web Links on application development: http://searchdomino.techtarget.com/bestWebLinks/0,289521,sid4_tax1f2,00.html =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= DEVELOPER FORUM | SearchDomino.com One user writes, "Hi there, I had a database through which our company reserve a room for a meeting, some times catering is also order for the meetings. To reserve a single room it is taking more than 1 min, if they are trying to reserve a same room for rest of the month every week or it takes more than 5 mins or so. When reserving the room it checks whether that room is available for that time on that particular day, this is where it is taking more time. I used db.search in the script to find if the room is available for that day or not. The database contains data upto 3 months reservations & one month old reservations. I tried to reserve the room deleting all the data than it took nearly 10 secs, if I added 10 documents then it took nearly 30 sec. I would appreciate if any one tell me how we can reduce the time it takes to reserve the room. All the users are complaining about this that they are not able to do any thing if they had to reserve the room. We are ready to create a new dB even if that is the alternate solution." >> HELP solve this problem: http://searchdomino.discussions.techtarget.com/WebX?[EMAIL PROTECTED]@.ee7740b/15461!viewtype=threadDate&skip=&expand= =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= DOMINO/NOTES SEARCH ENGINE | SearchDomino.com Find Domino information fast. Is Google one of your favorite search tools? We've partnered with Google to make our Domino/Notes-specific search engine even better. Why waste time slogging through irrelevant search results? Try our newly tweaked search engine for the most targeted Domino/Notes results. >>Click here to access our advanced search: http://searchdomino.techtarget.com/integratedSearchAdvanced/0,289518,sid4,00.html ____________________________________________________________________ :::::::::::::::::::: SEARCHDOMINO CONTACTS :::::::::::::::::::::: JOYCE CHUTCHIAN, Site Editor (mailto:[EMAIL PROTECTED]) >> Send your comments, opinions, best practices and ideas. ____________________________________________________________________ KURT RINGLEBEN, Asst. Editor (mailto:[EMAIL PROTECTED]) >> Send your white papers and best Web links, and tips. (Please submit your tips via SearchDomino.com) ____________________________________________________________________ DAVID SPENARD, Asst. Editor (mailto:[EMAIL PROTECTED]) >> Send your Ask the Experts questions. (Please submit your Ask the Experts questions via SearchDomino.com.) ____________________________________________________________________ JON PANKER, News Editor (mailto:[EMAIL PROTECTED]) >> Send in your news, product announcements and poll ideas. ____________________________________________________________________ DAVID DRISCOLL, Account Executive (mailto:[EMAIL PROTECTED]) >> Sponsor this or any other TechTarget newsletter. ____________________________________________________________________ :::::::::::::::::::: ABOUT THIS NEWSLETTER ::::::::::::::::::::: Created by TechTarget (http://www.techtarget.com) TechTarget - The Most Targeted IT Media Copyright 2002, All Rights Reserved. Unsubscribe from 'Lotus 411 Developer Tips' - Simply Reply to this Email with REMOVE within the Body or Subject > or - Go to: http://searchDomino.techtarget.com/register - Log in to edit your profile. - Click on the link to Edit email subscriptions. - Uncheck the box next to the newsletter you wish to unsubscribe from. - When finished, click "Save Changes to My Profile."
