Article View: pl.comp.lang.python
Article #28530Re: CreateQueryDef
From: Paweł
Date: Tue, 28 Apr 2015 13:10
Date: Tue, 28 Apr 2015 13:10
16 lines
1550 bytes
1550 bytes
On 2015-04-22 12:48, Paweł wrote:
> Cześć
>
> Czy ktoś wie jak można utworzyć programowo kwerendę (odpowiednik
> CreateQueryDef z VBA), która na trwałe będzie zapisana w bazie danych
> Access (mdb), jakoś nie mogę odnaleźć modułu, który by coś takiego
> umożliwiał, a użycie win32com.client generuje mi różne dziwne błędy np.:
> "com_error: (-2147221230, 'Klasa nie jest licencjonowana do użycia.'" ?
>
> Pozdrawiam Paweł
Odpowiem sobie sam :(
query_1=db.CreateQueryDef("nazwa wstawianej kwerendy", "polecenie sql")
Pozdrawiam Paweł
Technical Details
Message-ID:
<553f867d$0$8374$65785112@news.neostrada.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!goblin1!goblin.stu.neva.ru!newsfeed.neostrada.pl!unt-exc-02.news.neostrada.pl!unt-spo-b-01.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mailReferences:
<55377c49$0$27526$65785112@news.neostrada.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!goblin1!goblin.stu.neva.ru!newsfeed.neostrada.pl!unt-exc-02.news.neostrada.pl!unt-spo-b-01.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail Date: Tue, 28 Apr 2015 15:10:05 +0200 From: Paweł <gamacdur@op.pl> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 Newsgroups: pl.comp.lang.python Subject: Re: CreateQueryDef References: <55377c49$0$27526$65785112@news.neostrada.pl> In-Reply-To: <55377c49$0$27526$65785112@news.neostrada.pl> Lines: 16 Message-ID: <553f867d$0$8374$65785112@news.neostrada.pl> Organization: Telekomunikacja Polska NNTP-Posting-Host: 46.170.157.70 X-Trace: 1430226557 unt-rea-b-01.news.neostrada.pl 8374 46.170.157.70:58399 X-Complaints-To: abuse@news.neostrada.pl Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit