Date: prev next · Thread: first prev next last


福永様。

On 2017年04月12日 20:24, 福永ケンセイ wrote:
教えていただいたマクロをこちらの実行環境で動かしたところ
*oResult = *
*ThisDataBaseDocument.DataSource.getconnection("","").createstatement.executequery(sSql)*
*でエラーが発生してしまいました。*


上記文面から、次のことを2つご確認ください。
1.マクロ編集画面で、「コンパイルを行う」ボタン(「BASICプログラムを実行」の左側)をクリックして、何かメッセージが表示されないか。

2.「oResult = ThisDataBaseDocument.DataSource.getconnection("","").createstatement.executequery(sSql)
のコードは1行である。「oResult = 」の後に改行があるとエラーになります。

以上
--
/////////////////////////////
志義どっとPC
(志義ゼミナール)
堀 正和
〒838-0141
福岡県小郡市小郡630-62
TEL/FAX:0942-73-1710
直通(堀):090-8379-6113
/////////////////////////////


--
Unsubscribe instructions: E-mail to users+unsubscribe@ja.libreoffice.org
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/ja/users/
All messages sent to this list will be publicly archived and cannot be deleted

Context


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.