This is a multipart message in MIME format.
--=_alternative 005A43CF88256F32_=
Content-Type: text/plain; charset="US-ASCII"
As others say, you need to know both, and when each is appropriate.
You can set up a dialog list (I assume you're referring to PickList or
Prompt) with either tool. Look at the Prompt and PickListStrings methods
of the uiworkspace object.
We build dynamic selection lists via Lotusscript all the time, without
intermediate fields. Instead, we load the values into an array.
For example, in workflow we may allow rerouting, but only to people in one
group, plus an accountant and an administrator. With script we can get
the group document from the NAB, extract the members of the group, then
open a profile document where we've stored the accountant and
administrator du jour, then build one big list for users to pick from. You
could do it with Formula too, I imagine.
Most often we pick LotusScript if we need to do other scripty things
afterwards, such as manipulate a collection of documents.
We don't have any web apps here, but if we did, we'd rely more heavily on
Formula.
Post by L***@mercmarine.comTwo questions for the experienced Lotus Notes developer -
1). when you set up a dialog list, which is it
better(relative term) to use
a formula to obtain the choices or use Lotus Script?
And could you list the Pro/Cons for each choice.
2). I am struggling with trying to create a norm/standard
when developing
and am not sure which direction to jump. It would seem
that you should pick
one or the other (Formula Language or Lotus Script) for
your primary
development.
So, should the direction for development, be toward using
Lotus Script as
much as possible? Or should you stay with the Formula
Language, only using
the other language when there is no other choice.
What is the norm/standard being used in the real world?
Lotus Script or Formula Language?
Lyle Allen
Mercury Marine (MerCruiser)
405 743 6758
--=_alternative 005A43CF88256F32_=
Content-Type: text/html; charset="US-ASCII"
<br><font size=2><tt>As others say, you need to know both, and when each
is appropriate.</tt></font>
<br>
<br><font size=2><tt>You can set up a dialog list (I assume you're referring
to PickList or Prompt) with either tool. Look at the</tt></font><font size=1><tt>
Prompt and PickListStrings</tt></font><font size=2><tt> methods of the
</tt></font><font size=1><tt>uiworkspace</tt></font><font size=2><tt> object.</tt></font>
<br>
<br><font size=2><tt>We build dynamic selection lists via Lotusscript all
the time, without intermediate fields. Instead, we load the values
into an array. </tt></font>
<br>
<br><font size=2><tt>For example, in workflow we may allow rerouting, but
only to people in one group, plus an accountant and an administrator. With
script we can get the group document from the NAB, extract the members
of the group, then open a profile document where we've stored the accountant
and administrator du jour, then build one big list for users to pick from.
You could do it with Formula too, I imagine.</tt></font>
<br>
<br><font size=2><tt>Most often we pick LotusScript if we need to do other
scripty things afterwards, such as manipulate a collection of documents.</tt></font>
<br>
<br><font size=2><tt>We don't have any web apps here, but if we did, we'd
rely more heavily on Formula.</tt></font> <br> <br><font size=2><tt>>> Two questions for the experienced Lotus Notes
developer -<br>
>> <br>
>> 1). when you set up a dialog list, which is it <br>
>> better(relative term) to use<br>
>> a formula to obtain the choices or use Lotus Script?<br>
>> And could you list the Pro/Cons for each choice.<br>
>> <br>
>> 2). I am struggling with trying to create a norm/standard<br>
>> when developing<br>
>> and am not sure which direction to jump. It would seem <br>
>> that you should pick<br>
>> one or the other (Formula Language or Lotus Script) for <br>
>> your primary<br>
>> development.<br>
>> <br>
>> So, should the direction for development, be toward using<br>
>> Lotus Script as<br>
>> much as possible? Or should you stay with the Formula <br>
>> Language, only using<br>
>> the other language when there is no other choice.<br>
>> <br>
>> What is the norm/standard being used in the real world? <br>
>> Lotus Script or Formula Language?<br>
>> <br>
>> Lyle Allen<br>
>> Mercury Marine (MerCruiser)<br>
>> 405 743 6758<br>
>> ***@MercMarine.Com<br>
>> <br>
</tt></font>
--=_alternative 005A43CF88256F32_=--