🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.databases
Article #336

Re: 4D Receive Record Command

#336
From: Brian Martin
Date: Mon, 12 Oct 1992 12:32
37 lines
1459 bytes
In article <28SEP199220181481@vxcrna.cern.ch> sandrov@vxcrna.cern.ch (VENTURA,SAND./EP) writes:
>I'm experiencing some troubles with the Receive Record command:
>I can't avoid it to create a new record each time it executes, despite what
>stated on the manual which says that a record can be received in the current
>record.
>What am I missing? Any help or more general suggestions on how to transfer
>records between separate databases?
>
>Thanks
>Sandro 

The following code should work:

default file([ImportFile])
set channel (10; "file to import")
create record

While (ok=1)
  save record
  create record
  receive record
end while

set channel (11)


Hope this works for you,

    Brian K. Martin, M.D.
    Martin Information Systems, Ltd.
    1103 9th Avenue, Suite 203
    Honolulu, Hawai`i 96816-2403 USA
    Voice (808) 733-2003
    Fax (808) 733-2011

INTERNET: bmartin@uhunix.uhcc.hawaii.edu
CompuServe: 76535,250
Technical Details
Message-ID: <1992Oct12.123202.2387@news.Hawaii.Edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!ames!news.hawaii.edu!uhunix.uhcc.Hawaii.Edu!bmartin
References: <28SEP199220181481@vxcrna.cern.ch>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.mac.databases
Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!ames!news.hawaii.edu!uhunix.uhcc.Hawaii.Edu!bmartin
From: bmartin@uhunix.uhcc.Hawaii.Edu (Brian Martin)
Subject: Re: 4D Receive Record Command
Message-ID: <1992Oct12.123202.2387@news.Hawaii.Edu>
Sender: root@news.Hawaii.Edu (News Service)
Nntp-Posting-Host: uhunix.uhcc.hawaii.edu
Organization: University of Hawaii
References: <28SEP199220181481@vxcrna.cern.ch>
Date: Mon, 12 Oct 1992 12:32:02 GMT
Lines: 37