🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

find

#1314
From: Enes Boric
Date: Tue, 03 Mar 1998 00:00
24 lines
1074 bytes
I would like to find text in a table and replace it with different text
For example in 5.5 I have

   Local Ordernumber
   create session
   use ORDERDBF order tag ORDERID in select()
   OrderNumber = "00095"
   seek OrderNumber
        if found()
           replace ORDERID with "00100"
         else
           Msgbox ("Order not found.","Order",16)
         endif
   use
   Return

How can I do this in 7.0 if I have????


this.rowset = this.DATAMODREF1.ref.orderdbf1.rowset

Nothing I've tried seems to work, any suggestions ?
Thank you very much for your time.
Technical Details
Message-ID: <34FC2BE4.B8DBAFA3@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,d2c8fa28d9cfaa87,start
X-Google-Attributes: gidff5a1,public
From: Enes Boric <eboric@ionline.net>
Subject: find
Date: 1998/03/03
Message-ID: <34FC2BE4.B8DBAFA3@ionline.net>
X-Deja-AN: 330441308
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.vdbase.data.sql