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.
I've had no luck finding something with Google.
Thanks,
Keith
Hello Keith,
If you look at the basic libraries included with the OO.o distribution
you will find
[OpenOffice.org Macros & Dialogs].FormWizard.GetConnection
I call call this routine 'well written' because of how it uses structure
and default UI handlers to handle the login dialog.
As for examples of insert statement - care to be any more specific as
there seems to me to be many such on the forums to choose from.
HTH
Drew
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]