🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Filter on a Browse object

#1112
From: hirschv at mindspring dot com Ke...
Date: Tue, 05 May 1998 00:00
25 lines
1245 bytes
Dave Hatz <dhatz@pacbell.net> wrote:

>  function form_onOpen
>      this.rowset.beginfilter()
>      this.rowset.filter := "ID='000001'"
>      this.rowset.applyfilter()
>
>     this.browse1.alias = this.rowset
>     return

You're doing too much work ... _either_ use the filter property, OR
use beginFilter()/applyFilter(), not both. You're confusing the poor
thing.

Check the online help for the use of beginFilter ... it's useful for
some situations, but in the case above, you're better off JUST using
the filter property (remove beginFilter and applyFilter statements).

Ken
---
Ken Mayer [TeamB]
Golden Stag Productions
http://www.mindspring.com/~hirschv/homepage.htm
Please respond in the newsgroup unless explictly asked otherwise
Technical Details
Message-ID: <354e66dc.2474912@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <354E2A50.B5F1CAC@pacbell.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: ff5a1,a4c9c3241ccbaac3
X-Google-Attributes: gidff5a1,public
From: hirschv at mindspring dot com (Ken Mayer [TeamB])
Subject: Re: Filter on a Browse object
Date: 1998/05/05
Message-ID: <354e66dc.2474912@forums.borland.com>
X-Deja-AN: 350288642
References: <354E2A50.B5F1CAC@pacbell.net>
Reply-To: hirschv@nospam.mindspring.com
Organization: Golden Stag Productions
Newsgroups: borland.public.vdbase.data.sql