When working with forms, how is it possible to send a form's data to an
agent instead of storing it and redirecting to a view? We're working on a
web-based application that will use the data from a standard form to do a
few database lookups on a remote AS400 server running DB2 -- we currently
use ODBC from within LotusScript inside of an agent to interface with the
database. The problem, though, is figuring out how to retrieve form data
from that agent. We do not want to store any of the form's information in
the Notes database.

So far, I've written the greater majority of the necessary ODBC code in a
shared agent, and running the agent itself (i.e.,
http://host/database.nsf/MyAgent?OpenAgent) works fine -- its just a matter
of getting form data. I've tried using a button (a regular form button --
not an action button) that sends the user to the agent and using
Doc.FieldGetText("FieldName"), which gave me a type mismatch error.

Any ideas?

Much thanks in advance,
Brian Cline

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.