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.
expertKDAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ArunkumarCommented:
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
0
anuuCommented:
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? :))


0
ArunkumarCommented:
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




0
ArunkumarCommented:
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




0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
anuuCommented:
Thanks Arun!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Lotus IBM

From novice to tech pro — start learning today.