Article View: borland.public.vdbase.data.sql
Article #1001Re: finding caseless in memos
From: Bowen Moursund (TeamB)
Date: Wed, 27 May 1998 00:00
Date: Wed, 27 May 1998 00:00
21 lines
1229 bytes
1229 bytes
>SELECT * FROM alias WHERE UPPER(field) LIKE UPPER("searchstring")
>
>This works fine, when field is a String-Field, but an error occurs, when
>field is a memo. How can I turn memos into upper-case ?
Ya can't do using SQL. However, it can easily be done with a canGetRow event
handler, if you're using VdB7, or SET FILTER if you're using VdB5:
// VdB7
rowsetObj.cangetRow = ;
{||upper(this.parent.fields["MEMOFLD"].value) = "SEARCH STRING"}
* VdB5
set filter to MEMOFLD = "SEARCH STRING"
__
Bowen Moursund (TeamB)
bowenNOSPAM@nerds.com
http://lonestar.texas.net/~moursund/
Try this help resource:
http://www.dejanews.com/home_ps.shtml
Technical Details
Message-ID:
<6khj4d$af03@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<356B2BCB.4F91@radiok2r.de>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: ff5a1,5c89bcf4147e11d0 X-Google-Attributes: gidff5a1,public From: "Bowen Moursund (TeamB)" <teamb@opto-pps.com> Subject: Re: finding caseless in memos Date: 1998/05/27 Message-ID: <6khj4d$af03@forums.borland.com> X-Deja-AN: 357036833 Content-Transfer-Encoding: 7bit References: <356B2BCB.4F91@radiok2r.de> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Organization: DataTech Newsgroups: borland.public.vdbase.data.sql