🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.vdbase.forms
Article #18

Re: Filtering

#18
From: Romain Strieff [TeamB]
Date: Tue, 09 Mar 1999 00:00
24 lines
1150 bytes
In article <01be6a1c$10d9f2a0$477ae8c3@CIS.CIS>, Derek Fawell politely 
paraphrased ...
> I am trying to filter records in a child table to remove items which the
> customer has paid. I have used the following 
> function HISTORYFILTER_onClick
> 
> form.rowset = form.DATAMODREF1.ref.sales1.rowset
> form.rowset.filter = [PAID = 'True']
> 
> this as per KM's tutorial but after which I get 
> Database engine error. Operation not applicable.
> 
> What have I done wrong ?
> 
Remove the quotes, it's not a string.

form.rowset.filter = [PAID = True]

-- 
Romain Strieff [TeamB]
Please read this newsgroup guide below before 
posting on the private Inprise newsgroups.
http://www.inprise.com/newsgroups/guide.html
--
Technical Details
Message-ID: <MPG.114f573652f0c22698a017@forums.inprise.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <01be6a1c$10d9f2a0$477ae8c3@CIS.CIS>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 15bdfb,6124a71ab90aff32
X-Google-Attributes: gid15bdfb,public
From: teamb@opto-pps.com (Romain Strieff [TeamB])
Subject: Re: Filtering
Date: 1999/03/09
Message-ID: <MPG.114f573652f0c22698a017@forums.inprise.com>
X-Deja-AN: 452994042
References: <01be6a1c$10d9f2a0$477ae8c3@CIS.CIS>
Organization: TeamB
Newsgroups: borland.public.vdbase.forms