Problem solve Get help with specific problems with your technologies, process and projects.

How does an Action button on a form that copies Notes data to an Oracle DB work?

ODBC question: I have an Action button on a form that will copy Notes data to an Oracle database via ODBC using LotusScript. Is that code running on my client or on the Domino server? Is the connection from my client to the Domino server to the Oracle server? This is new territory for me, and I need some help understanding what exactly is going on when I press the button. Thanks.
This is a very common question, so take some comfort in knowing that you are in well traveled territory. I have to guess that the LotusScript is in the Click event of the Action button, so the code and connection that is operating completely between your client and Oracle and the Domino server is not involved. That means that deploying this functionality to your users involves installing and configuring the ODBC drivers on every desktop. Unless you have only a handful of users to support, this can be difficult to administer.

Besides, you really should consider using the Oracle Connector instead of ODBC for better performance. If you do (LotusScript uses LS:DO and not the LC-LSX), then you would have to convert it to leverage the Oracle Connector.

Two possible solutions to the client-side problem are to move your Action button code into an agent and call it using the RunOnServer method or use DECS and Realtime-enable the Domino form so that DECS sends the updates to Oracle. Both of these solutions require ODBC and/or Oracle client software to be installed and configured on the Domino server.

Do you have comments on this Ask the Expert Q&A? Let us know.

Dig Deeper on LotusScript

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.




  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...