🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.database.multi-tier
1 messages
1 total messages Started by Olaf Schutten Mon, 21 Jun 1999 00:00
Performing 'Logical AND' in a SQL query on Paradox tables, how?
#1740
Author: Olaf Schutten
Date: Mon, 21 Jun 1999 00:00
54 lines
2328 bytes
--------------13BFE1D22E63EECA4417BE84
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

What is the syntax for performing an 'logical and' between a field of a
paradox table and an user defined variable at runtime in a SQL-Query?

my query looks like this:

select * from RecTable where
( RecTable.Days & :ConnectDay )

Note: - ConnectDay is variable which is filled runtime
          - & must be 'Logical AND'
          - Days is field of RecTable Database
          - RecTable is of type Paradox

& as 'logical and' does not work, so what is the syntax for 'logical
and' when using a Paradox table?

Thanks in advance.

Olaf Schutten
TeleCats BV


--------------13BFE1D22E63EECA4417BE84
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
What is the syntax for performing an <b>'logical and'</b> between a field
of a
<br><b>paradox table</b> and an user defined variable at runtime in a SQL-Query?
<p><b>my query looks like this:</b>
<p><i>select * from RecTable where</i>
<br><i>( RecTable.Days &amp; :ConnectDay )</i>
<p>Note: - ConnectDay is variable which is filled runtime
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - &amp; must
be 'Logical AND'
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - Days is field
of RecTable Database
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - RecTable is
of type Paradox
<p>&amp; as <b>'logical and'</b> does not work, so what is the syntax for
<b>'logical and'</b> when using a Paradox table?
<p>Thanks in advance.
<p>Olaf Schutten
<br>TeleCats BV
<br>&nbsp;</html>

--------------13BFE1D22E63EECA4417BE84--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads