Drew Jensen wrote:
Keith Clark wrote:
I'm looking for a good example of a macro that connects to a remote
MySQL server with a username and password.  It would also show a sample
INSERT INTO statement....actually any SQL statement would do.

Hello Keith,

If you look at the basic libraries included with the OO.o distribution you will find
[OpenOffice.org Macros & Dialogs].FormWizard.GetConnection


@Keith - unless you mean that you want to connect completely via a script, no UI interaction at all...in which case there is an example or two on the forum - none for MySQL that I know OTOMH but that is likely my faulty memory.

Anyway - if that is what you are looking for instead - the structure from the example I mentioned is still useful I would think as communication errors still occur, even sans humans pushing keys.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to