Date: prev next · Thread: first prev next last
2023 Archives by date, by thread · List index

You guys are terrific. Thanks for your help!

The reason I went to the macros was because I was looking for a
repository within LOBase for a number of SQL sequences (e.g. UPDATE tbl
SET Col WHERE expr) that a would want to execute from time to time. A
macro seemed to be the only possibility. What else could you suggest?

(It's a rather trivial requirement actually and using a macro could
become a sledgehammer to crack a nut. Collecting my SQL statements into
a text file somewhere in the bowels of my machine to be called up with
cut and paste struck me as a bit primitive and inelegant).

On Tue, 2023-01-24 at 17:07 -0500, Andrew Pitonyak wrote:

I have a guess since I was not previously aware of this method. 

There is precedence for LO adding support for Microsoft Office (MSO)
compatibility. I am guessing that this method was added for MSO
compatibility with MS Access (but that is just a guess). I would
assume, therefore, that it should act similarly to how the method
work in MS Access (again a guess). 

When I really want to know, I pull the code and then I go looking for
the method in the code to see what it does. 

Also, if it immediately registers as an error, then you might need to
turn on compatibility mode. 

Well, that is what I thought until I googled a bit

This implies that the command is based on an extension rather than
directly supported by LO.

but then this seems to imply otherwise

Sorry, not much help :-(

On Tuesday, January 24, 2023 15:50 EST, Harvey Nimmo
<> wrote:
 Thanks. Not sure I can understand how that should work...hmmm

I based my syntax on the example here

On Tue, 2023-01-24 at 20:39 +0000, Dave Howorth wrote:
On Tue, 24 Jan 2023 20:32:18 +0100
Harvey Nimmo <> wrote:

Where can I find the syntax of the DoCmd.RunSQL command to be
with a LOBase Macro in Basic?

I've never heard of the command, but google suggests

I've no idea whether it is correct/relevant.

My assumption was 
X = "SQL string"


To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
Privacy Policy:


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.