🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Help!!

#5405
From: Steve Westwood
Date: Wed, 23 May 2001 15:43
30 lines
1615 bytes
I am having trouble switching between BDE and ADO.  This query works with
Tquery but not with ADOQuery. Why?  What do I need to change to get it to
work?


SELECT DISTINCT Al.BoxName, Ch.Product, Al.ChannelID, Al.AlarmType,
Al.AlarmLevel, Al."TimeStamp", Al.Quality
 From  AlarmLog Al
   INNER JOIN WebChannel WCH
   ON  (WCH.ChannelID = Al.ChannelID)
   FULL OUTER JOIN Channel Ch
   ON  (Ch.ChannelID = Al.ChannelID)
   INNER JOIN WebCustomer WCR
   ON  (WCR.CustomerID = WCH.CustomerID) , Box B
  WHERE (WCR.LoginID = "adopt") AND (Al."TimeStamp" > '11/29/2000 11:35:24
AM')
   AND (Al.BoxID LIKE B.BoxID)
 ORDER BY Al."TimeStamp" DESC


I was able to fix things up to the WHERE command can anyone help?

WHERE AlarmLog."TimeStamp" > '11/29/2000 11:35:24 AM'


Thanks for any help,



Steve
Technical Details
Message-ID: <3b0bdb10$1_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed1.uni2.dk!newssuck.uni2.dk!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,16b5a50b79c07662,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2001-05-23 09:14:01 PST
From: "Steve Westwood" <Steve@DragonWoood.cc>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Help!!
Date: Wed, 23 May 2001 11:43:34 -0400
Lines: 33
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
NNTP-Posting-Host: 216.164.252.5
Message-ID: <3b0bdb10$1_1@dnews>
X-Trace: dnews 990632720 216.164.252.5 (23 May 2001 08:45:20 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed1.uni2.dk!newssuck.uni2.dk!dnews