๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.multi-tier
Article #1347

Re: Query with Hour

#1347
From: pepito perez
Date: Tue, 23 Nov 1999 00:00
45 lines
1495 bytes
Thank You very much

It works fine.












Kim Hellan <khe@NOSPAMkmd.dk> wrote in message
news:80rmmr$m3h6@forums.borland.com...
> You should do:
>
> "Select count(*) from Users where time >#17::35#" (double colons)
>
> Otherwise the BDE mistakes the single colon as the start of a parameter.
>
> Kim Hellan
>
>
> pepito perez wrote in message <80on09$pom12@forums.borland.com>...
> >I have an application in C++Builder 4.0 which works with an Access
> Database.
> >One of the database's table have a date/time field, exactly a short time
> >(17:35) field.
> >
> >I try to launch a query like" select count(*) from Users where time >
> >#17:35#". This sentence works well in Access directly but with a TQuery
> >object it doesn๏ฟฝt work (Syntaxis Error).
> >
> >I don`t know how to write the hour's format.
> >
> >Anybody may help me ?
> >
> >Thank You in advanced.
> >
> >
>
>
Technical Details
Message-ID: <81djja$gke11@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <80on09$pom12@forums.borland.com> <80rmmr$m3h6@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: fcd2b,7a81ff595fef6c57
X-Google-Attributes: gidfcd2b,public
From: "pepito perez" <pepito@hotmail.com>
Subject: Re: Query with Hour
Date: 1999/11/23
Message-ID: <81djja$gke11@forums.borland.com>
X-Deja-AN: 551981116
References: <80on09$pom12@forums.borland.com> <80rmmr$m3h6@forums.borland.com>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Organization: Another Netscape Collabra Server User
X-MSMail-Priority: Normal
Newsgroups: borland.public.cppbuilder.database.multi-tier