Hy!
I have 2 questions
I need to create simple search application for Lotus Notes. For test I create one small form with one button that search values in text document. I can find the value and it is ok, but when I want to show that result it is not so good. I use Print function and results are on the bottom of page, how put this result on form?
How to take a value from Field object on form, or how to write a value in Field object on form. So far I worked with VB and there I can say for example:
A=Text1.Text
Text1.Text=A
How to do it in Lotus Script?
Subject: Values for Lotus Script objects
you should read a little documentation about lotus script’s objecst firstly, then it will very easy for you to do simple thing. actually lotus script and vb has the same syntax and all difference probably in hierarchy.
because in lotus script forms is only template how to sho document. so you should work with documents, but not with forms.
in you case, you should receive document (i dont know how it in your case) and then write something like this
a = document.getitemvalue(“text”)(0)
document.replaceitemvalue(“text”, a)
Subject: Values for Lotus Script objects
Unless you have an unusually complex search algorithm, you probably want to use the built-in capabilities. Search this forum for “$$SearchForm”.
http://www-10.lotus.com/ldd/nd6forum.nsf/0/3ea1cb0492ce89a6852571d300487fdc?Open