πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.vdbase.data.sql
Article #650

Re: Why does this not work?

#650
From: Nedim Buyukmihci
Date: Thu, 30 Jul 1998 00:00
41 lines
1642 bytes
Ken,

Thanks for the response:

>How about just comparing one field with <= or >=

These give the same error.

>Are you sure you're referencing the correct rowset?

Yes.

>What is the SQL statement for the query?

select * from '<table>'

>Are you sure the variables have values? Try assigning the expression to a 
>separate variable, and display that variable before assigning to filter.

Yes, all this has been done, tested.

>Try another character field with a similar comparison.

Done, same results.

There is no question that the '>' or '<' is the culprit. If I take it
out of any of the statements tried, the statements work. For example,
if I do this:

pcValue = 'SMITH'

form.rowset.filter := "Last_name = " + ['] + pcValue + [']

the statement works. But as soon as I change the '=' to '>=' the error
'Operation not applicable' comes up. Or if I change the '=' to '>' the
same error occurs.

Any other ideas? Are you getting a '>=' or '>' alone to work in
similar statements?

Ned
Technical Details
Message-ID: <35c0a37f.697506456@forums.inprise.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <35b5cc02.318528305@forums.inprise.com> <MPG.1026bf322e50fe38989a37@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: ff5a1,80b2a41f1ab93db
X-Google-Attributes: gidff5a1,public
From: ncbuyukmihci@ucdavis.edu (Nedim Buyukmihci)
Subject: Re: Why does this not work?
Date: 1998/07/30
Message-ID: <35c0a37f.697506456@forums.inprise.com>
X-Deja-AN: 376386907
Content-Transfer-Encoding: 7bit
References: <35b5cc02.318528305@forums.inprise.com> <MPG.1026bf322e50fe38989a37@forums.borland.com>
Content-Type: text/plain; charset=us-ascii
Organization: PigByte DataοΏ½
Mime-Version: 1.0
Reply-To: ncbuyukmihci@ucdavis.edu
Newsgroups: borland.public.vdbase.data.sql