Need LS help... turning action button into an agent
Posted by Ruth Inman on 15.Nov.05 at 11:27 AM using a Web browser Category : Domino Designer Release: 6.5.3 FP1 Platform: Windows 2000
Someone else wrote this LS... it's not my specialty by ANY means.. But this code WORKS when launched as a button on a form. Problem is, we are reworking the form... and we now need it to be called as an agent. (We're combining it with another button that is clicked, and that button runs formula language, so we figured it's easiest? to put this in an agent, and add a line of formula language to call the agent... ) anyway .. this code is to create a document in ANOTHER database using info from the one the user has open. It does work, as I said from a Form Button... but when I paste it into an agent.. under the Initialize event, I get the following error when trying to SAVE it:
Create Ticket: Initialize: 11: Type mismatch on: DB
Help??
Need LS help... turning action butt... (Ruth Inman 15.Nov.05)
. . RE: Need LS help... turning action ... (Greg Bussey 15.Nov.05)
. . . . LOL - sorry... CODE HERE (Ruth Inman 15.Nov.05)
. . RE: Need LS help... turning action ... (Kenneth Axi 15.Nov.05)
. . . . Already posted Code... See "LOL" su... (Ruth Inman 15.Nov.05)
. . . . alternative to.. .UI-classes used i... (Ruth Inman 15.Nov.05)
. . . . . . RE: alternative to.. .UI-classes us... (Kenneth Axi 15.Nov.05)
. . . . . . . . RE: alternative to.. .UI-classes us... (Ruth Inman 15.Nov.05)
. . . . . . . . Basically (Ruth Inman 15.Nov.05)
. . . . . . . . . . RE: Basically (Kenneth Axi 15.Nov.05)
. . . . . . . . . . . . RE: Basically (Ruth Inman 16.Nov.05)
. . . . . . . . . . . . Question.... (Ruth Inman 16.Nov.05)
. . . . . . . . . . . . . . RE: Question.... (Stan Rogers 16.Nov.05)
. . . . . . . . . . . . . . . . RE: Question.... (Ruth Inman 16.Nov.05)
. . . . . . . . . . . . . . . . . . RE: Question.... (Stan Rogers 16.Nov.05)
. . . . . . . . . . . . . . . . . . . . Run From... (Ruth Inman 16.Nov.05)
. . . . . . . . . . . . . . . . . . . . . . RE: Run From... (Stan Rogers 16.Nov.05)
. . . . . . . . . . . . . . . . . . . . . . . . That helped ALOT... now...Object Va... (Ruth Inman 22.Nov.05)
. . . . . . . . . . . . . . . . . . . . . . . . Oh How I hateLotusScript.... (Ruth Inman 22.Nov.05)
. . . . . . . . . . . . . . . . . . . . . . . . . . RE: Oh How I hateLotusScript.... (Stan Rogers 22.Nov.05)
. . . . . . . . . . . . . . . . . . . . place holders> (Ruth Inman 16.Nov.05)
. . . . . . . . . . . . . . . . . . . . . . RE: place holders> (Stan Rogers 16.Nov.05)
. . . . . . . . . . . . . . . . . . . . . . . . setting values of fields (Ruth Inman 16.Nov.05)
. . . . . . . . . . . . . . . . . . . . . . . . . . RE: setting values of fields (Stan Rogers 16.Nov.05)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . clarification (Ruth Inman 16.Nov.05)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . RE: clarification (Stan Rogers 16.Nov.05)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . mail in or not (Ruth Inman 17.Nov.05)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . RE: clarification (Kenneth Axi 17.Nov.05)
. . . . . . . . . . . . Good Start... but... 3 things (Ruth Inman 16.Nov.05)
. . . . . . . . . . . . . . RE: Good Start... but... 3 things (Kenneth Axi 17.Nov.05)
. . Use RunAGent (Sergio Ramos 15.Nov.05)
. . . . RE: Use RunAGent (Ruth Inman 15.Nov.05)
. . RE: Need LS help... turning action ... (Michelle ORorke... 15.Nov.05)
. . . . RE: Need LS help... turning action ... (Ruth Inman 16.Nov.05)
Resources
Lotus Support
Wikis
Lotus Forums