Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #13395
| From | Jamal <nospam@example.com> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: SQLListTables:Destroy |
| Date | 2021-07-16 10:32 -0400 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <scs59d$5lf$1@gioia.aioe.org> (permalink) |
| References | <7d1c9a79-3655-414c-b7cc-70e8e6623256n@googlegroups.com> <il324tF2058U1@mid.individual.net> <79fce97f-d8fe-4b43-a6e1-46fe174116abn@googlegroups.com> <il4vk0Fd7g6U1@mid.individual.net> <85dea669-dba2-46ef-8f92-00e4cb0d390en@googlegroups.com> |
You were getting the error because there is no such Destroy() method for the SQLListTables class. The only two classes that have the Destroy() method are: SQLStatement and SqlParameter classes. Unrelated, but just in case you use SQLParameter, according to the SDK, "If you instantiate a SQLParameter object, you should explicitly destroy it when you are finished using it". And remember the Close() method only closes the cursor, not the connection. Jamal As you found, the Close() method should work fine. On 7/15/2021 3:44 PM, Henry Fidler wrote: > Wolfgang many thanks > > I did what you have suggested, > I do not know what the method Destroy() should do, so I have just > Self:Close() > > Until now it works OK. > > Thanks > Henry >
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Find similar | Unroll thread
SQLListTables:Destroy Henry Fidler <zodcomag@gmail.com> - 2021-07-12 04:10 -0700
Re: SQLListTables:Destroy "Wolfgang Riedmann" <wriedmann@gmail.com> - 2021-07-12 16:32 +0200
Re: SQLListTables:Destroy Henry Fidler <zodcomag@gmail.com> - 2021-07-12 22:29 -0700
Re: SQLListTables:Destroy "Wolfgang Riedmann" <wriedmann@gmail.com> - 2021-07-13 10:02 +0200
Re: SQLListTables:Destroy Henry Fidler <zodcomag@gmail.com> - 2021-07-15 12:44 -0700
Re: SQLListTables:Destroy "Wolfgang Riedmann" <wriedmann@gmail.com> - 2021-07-16 09:48 +0200
Re: SQLListTables:Destroy Jamal <nospam@example.com> - 2021-07-16 10:32 -0400
csiph-web