🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #1550

Re: Use of SQL MAX for MS ACCESS file

#1550
From: Martin Moeller
Date: Thu, 13 May 2004 18:48
18 lines
1438 bytes
"Viatcheslav V. Vassiliev" <support@oledbdirect.com> wrote:



> Your query may not work because there is no space between lines, finally
it
> looks as:
>
> SELECT * FROM ConfigHistoryWHERE  Active=(SELECT MAX(Active) FROM
> ConfigHistory);
>

Yes, just found it (proudly myself) a couple of minutes ago.

What is the correct catch for ADO related exceptions?

Tks, Martin
Technical Details
Message-ID: <40a3c2f5$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <40a3b5c2$1@newsgroups.borland.com> <40a3be67$1@newsgroups.borland.com> <40a3bf2c$2@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,4ddc4486a34d3345
X-Google-Attributes: gid10698b,public
Reply-To: "Martin Moeller" <martin.moeller@moema.it>
From: "Martin Moeller" <martin.moeller@moema.it>
Newsgroups: borland.public.cppbuilder.database.ado
References: <40a3b5c2$1@newsgroups.borland.com> <40a3be67$1@newsgroups.borland.com> <40a3bf2c$2@newsgroups.borland.com>
Subject: Re: Use of SQL MAX for MS ACCESS file
Date: Thu, 13 May 2004 20:48:21 +0200
Lines: 20
Organization: Moe.Ma Italiana Srl
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 213.45.0.185
Message-ID: <40a3c2f5$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1084474101 213.45.0.185 (13 May 2004 11:48:21 -0700)
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail