🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Help!

#305
From: Enes Boric
Date: Tue, 29 Dec 1998 00:00
28 lines
1054 bytes
I have a code in vdb  5.6
USE basename
SET FILTER TO
GO TOP
SCAN
 IF MYFIELD=SOMETHING
    DO SOMETHING (replace etc.)
 ENDIF
ENDSCAN


I'm trying to make something like this into vdb 7.1 but
I can't.

I tried
r=form.DATAMODREF1.ref.basename1.rowset
r.first()
DO WHILE NOT rowset.endOfSet()
   IF r.fields["MYFIELD"].value=something
      DO something  (r.fields["MYFIELD"].value=something etc)
   ENDIF
   r.next()
ENDDO

But I couldn't get the resoults that I expected. Can somebody please
tell me where
i'm making the mistakes?
Thank you.
Technical Details
Message-ID: <36892BFF.62703CDB@ionline.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: ff5a1,39f26e02c5ad06b2,start
X-Google-Attributes: gidff5a1,public
From: Enes Boric <eboric@ionline.net>
Subject: Help!
Date: 1998/12/29
Message-ID: <36892BFF.62703CDB@ionline.net>
X-Deja-AN: 426852644
Content-Transfer-Encoding: 7bit
Organization: Another Netscape Collabra Server User
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Newsgroups: borland.public.vdbase.data.sql