🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Importing into 4D subfile

#48
From: L Boyd
Date: Wed, 04 Nov 1992 05:19
32 lines
1784 bytes
David Tsai <dt1n+@andrew.cmu.edu> writes:

>Does 4d take care of importing automatically into the subfile or will I
>have to write the special code to import data to the subfile.  I want
>this to work at the runtime level cause my client wants to be able to do
>this herself.

Hey Dave --

*HEADACHE* is the name of this game!  Try to avoid subfiles if you can,
but I bet you wouldn't have asked the question if you didn't want an 
answer...

Unfortunately, you've got to walk through each record you want to add
to the subfile -- create it, assigne the values and then *SAVE* the Subrecord.

When you select the *parent* record, it's the current selection, and the 
*FIRST* subrecord is the curren *sub* selection, if you will.

One trick that I like to use is to make a separate data file that's all
text (7-8 fields)  and dump the data to be exported into it.  Then you
can manipulate the data as you like and put it in to the appropriate data
file.

Hope this helps.


******************************************************************************
Lauren Boyd					Department of Otolaryngology
Systems Analyst/Programmer			University of Washington, RL-30
*Go Bill!*					Seattle, Washington  98195
******************************************************************************
Technical Details
Message-ID: <1992Nov4.051945.17817@u.washington.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!news.u.washington.edu!stein.u.washington.edu!gnat
References: <EexhgEa00iV144hltj@andrew.cmu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!news.u.washington.edu!stein.u.washington.edu!gnat
From: gnat@stein.u.washington.edu (L Boyd)
Newsgroups: comp.sys.mac.databases
Subject: Re: Importing into 4D subfile
Message-ID: <1992Nov4.051945.17817@u.washington.edu>
Date: 4 Nov 92 05:19:45 GMT
Article-I.D.: u.1992Nov4.051945.17817
References: <EexhgEa00iV144hltj@andrew.cmu.edu>
Sender: news@u.washington.edu (USENET News System)
Organization: University of Washington
Lines: 32