hii am dealing a big dblookup problem.in my application,there is a combobox field which is the key being used in dblookup formula and there is another combobox field which is using the values being passed by other combobox…
with the form open,whenever the first combobox value changes,other’s values must be changed automatically…
waiting for support…
thanx in advance
(this is a web application)
Subject: is there a reason why you can’t simply
do what I’ve domne many times
set first combo box to refresh document on keyword change
set second combo box to refresh choices on document refresh
Plus use Translation formula on second field (if needed)
Subject: i need a different way not AJAX
other than AJAX,is there a way making dblookup work on web…(refreshing doc on keyword change and refresh choices … dont work…becouse the key i use in dblookup depends on the changes on the values of first combobox…)
Subject: RE: i need a different way not AJAX
To use AJaX, use an onchange event in the first combobox to create an XMLHttpRequest Object call to an agent that uses that info to do a lookup and pass an XML datastream back to the page. Then you can use that stream to repopulate the second combobox. It sounds complicated, but once you’ve done it, it looks much easier.
We had an excellent demo at the last St. Louis Domino User Group Meeting. Here is a link to their page with the examples:
http://www.stldominotes.org/UserGroup/StlDomiNotes.nsf/f7eb5df2001158e78625697b005587ec/4620148cfebf42b086256f690021f902?OpenDocument
Try it, you’ll like it!
Subject: RE: i need a different way not AJAX
Yes, it DOES work. It has worked for many hundreds of developers for quite a few years. Try it first.
Subject: AJAX
Search the internet for ajax AND lotus AND dblookup