Link to home
Start Free TrialLog in
Avatar of expertKD
expertKD

asked on

How to add items to a dialog list

Hi Experts,
     How to add items to a dialog list using lotus script.For example i want to get all the form names of a current database obtained using form.name in a dialoglist.
     Help me with coding if possible.

with regards,
expertKD.
Avatar of Arunkumar
Arunkumar

Well I dont think I can give you the code.  Anyway,  the logic matters right ?  Well get all the form names populated in a variable and store this in ini file.  This should not exceed 256 characters.  Do this from an agent. Use another agent to prompt this variable as a list.

If you are in a form,  Populate all the form names in a field(hidden) use the ws.dialog to show this field in a subform so that the use can pickup a desired value from the list.

Cheers !
Arun
Arun,

I think your answer is quite feasible. However, why store all names in the ini? If the current database has many forms, it would not be advisable to store them all in the ini! All the form names can stored within the main document in a hidden editable field. That's enough dont you think? :))


Hi anuu!
Well the ini option was given if he wants to run the script from the view.
If he can run the script from a document then the second option holds good.

Even in the second option you cannot go beyond 64k (hi..hi...hi...)

Am I clear or Confusing ?

:)
Arun




ASKER CERTIFIED SOLUTION
Avatar of Arunkumar
Arunkumar

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks Arun!