Hello everyone,
I would love to reuse some formula language code, like a sub, but I have no clue how (I can’t put it in an agent because I interact with the user.)
Any new functionality in ND6 that can handle this? …or a creative way?
Thanks very much,
Rachel
Subject: How to reuse formula language code (like a sub)?
Can you be more specific as to what you are trying to reuse? It is a field formula? button code? something else. There are many ways to skin a cat depending on the objective.
Subject: RE: How to reuse formula language code (like a sub)?
Sure…
The code itself is a combination of things - I get user input, I parse it, format it, do lookups for other values, and set other values based on the returns.
It used to run from behind a graphic that looks like the drop down for a picklist (it lets user pick a val, but it also does what I want. User has to click it, no way around that.)
I just found out I also need to run this code in case a date changes (run exiting event on change).
So really, what I want is to lotus script trigger reusable formula language. Like that’ll ever happen. I guess I need to rewrite everyhting in script.
Unless you can think of something tricky?
Thnaks,
Rachel
Subject: RE: How to reuse formula language code (like a sub)?
Why can’t you use an agent? While I don’t often mess with the QC or Change events, I use LS to call @macros (and vice versa) all the time. Acutally, I typically use @functions to call macros of both kinds - just easier for my brain to handle.
Have you tried it as an agent and run into trouble? If not, give it a whirl and see what happens.
If you had problems, what were they?
HTH
Doug
Subject: How to reuse formula language code (like a sub)?
Can you be more specific as to what you are trying to reuse? It is a field formula? button code? something else. There are many ways to skin a cat depending on the objective.