🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Query on memo fields

#1215
From: Bowen Moursund
Date: Wed, 08 Apr 1998 00:00
21 lines
1193 bytes
>Anybody know how to do a query on memo fields and circumvent the
>problem of case of the string being searched?
>
>With DML, you could filter on upper(<memo>). What do we do with OODML?

You might use a canGetRow event handler, e.g.:

q = new query()
q.sql = "select * from A_TABLE"
q.SearchValue = "WHATEVER"
q.rowset.canGetRow = ;
   {|| this.parent.cSearchValue $ upper(this.fields["MEMOFIELD"].value) }
q.active = true
__
Bowen Moursund (TeamB)
bowenNOSPAM@nerds.com
http://www.lonestar.texas.net/~moursund
Try these help resources:
http://forumsearch.borland.com:88
http://www.dejanews.com/home_ps.shtml
Technical Details
Message-ID: <6ggnbg$qqk9@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <352a7cbe.2945432@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: ff5a1,f2379775633d4b82
X-Google-Attributes: gidff5a1,public
From: "Bowen Moursund" <teamb@opto-pps.com>
Subject: Re: Query on memo fields
Date: 1998/04/08
Message-ID: <6ggnbg$qqk9@forums.borland.com>
X-Deja-AN: 342187189
Content-Transfer-Encoding: 7bit
References: <352a7cbe.2945432@forums.borland.com>
Content-Type: text/plain; charset="iso-8859-1"
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
Organization: DataTech
Mime-Version: 1.0
Newsgroups: borland.public.vdbase.data.sql