🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Importing into 4D subfile

#50
From: Mike Hennahane
Date: Tue, 03 Nov 1992 22:59
22 lines
1569 bytes
David Tsai <dt1n+@andrew.cmu.edu> writes:

>Do I have to do anything special to the file before I import it....for
>example, Will all subfiles will have to be in a separate file from the
>rest of the table?

this is up to you; 4d does not automatically do anything with subfile
importing that you do not code yourself.  i usually encapsulate the
entire subfile in what 4d interpretes as a text field; then i parse
out and create the subrecords myself.

>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.

you will have to write code (see above).  there is no reason, though,
that you can't make the import a menu choice so that your client can
do them herself.  all you really have to do is make sure that the
import file is in the format that your import code expects.

--mike
Technical Details
Message-ID: <michaelh.720831580@Xenon.Stanford.EDU>
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!emory!sol.ctr.columbia.edu!usc!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!unixhub!stanford.edu!CSD-NewsHost.Stanford.EDU!Xenon.Stanford.EDU!michaelh
References: <EexhgEa00iV144hltj@andrew.cmu.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.mac.databases
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!emory!sol.ctr.columbia.edu!usc!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!unixhub!stanford.edu!CSD-NewsHost.Stanford.EDU!Xenon.Stanford.EDU!michaelh
From: michaelh@Xenon.Stanford.EDU (Mike Hennahane)
Subject: Re: Importing into 4D subfile
Message-ID: <michaelh.720831580@Xenon.Stanford.EDU>
Sender: news@CSD-NewsHost.Stanford.EDU
Organization: CS Department, Stanford University, California, USA
References: <EexhgEa00iV144hltj@andrew.cmu.edu>
Date:  3 Nov 92 22:59:40 GMT
Lines: 22