blob usage from second file
Joe Chasan
joe at magnatechonline.com
Thu Jun 17 09:33:48 PDT 2004
On Thu, Jun 17, 2004 at 12:22:12PM -0400, GCC Consulting wrote:
>
>
> > -----Original Message-----
> > From: filepro-list-bounces at lists.celestial.com
> > [mailto:filepro-list-bounces at lists.celestial.com] On Behalf
> > Of Joe Chasan
> > Sent: Wednesday, June 16, 2004 5:21 PM
> > To: filepro-list at seaslug.org
> > Subject: blob usage from second file
> >
> > using filepro 5.0.13 on sco openserver, if i have a blob in
> > file_A, where i edit it constantly (blob export, call
> > external program, blob import back), and i want to reference
> > it in file_B, how am i supposed to do this? (file_A has a
> > one-to-many relationship with file_B)
> >
> > i really thought it was possible, but perhaps my memory is
> > failing as i keep getting SegV in the process.
> >
> > i've tried blob file_B(2) export disk_file_name and
> > aa(16,blob)=file_B(2)
> > blob aa export disk_file_name
> >
> > i also tried with a long dummy - when assigning to a dummy,
> > the segv happens on assignment. when going with
> > lookup_alias(field#), the segv happens on the blob export line
> >
> > --- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> > - - - ---
> > -Joe Chasan- Magnatech Business Systems, Inc.
>
> Joe,
>
> I seem to remember that you could to a lookup to a blob "field" and copy it to
> another blob. But I don't think a dummy field can have a blob or memo edit.
> (Checked Stuart's book Page 463 "must be a real field").
>
> It may be necessary to add a blob filed to file_A record, import the info from
> file_b(blob) into that blob field; do what you have to do with it; then delete
> the info from file_a(blob).
>
> Richard Kreiss
> GCC Consulting
if that is the case, its an awful waste of space, and it should be caught
earlier (at the cabe syntax check stage) in the process.
the manual does not say either way.
when i first got earliest releases of 5.0. i remember not being able
to use a dummy defined as a blob, i emailed tech support asking if it
was permitted or not, and if it wasn't then cabe should stop it at
syntax check time - never heard a whisper back. i don't know where
stuart got his info from, perhaps trial and error. syntax does not
stop you from either using a dummy or referencing a blob in another
file.
--- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ---
-Joe Chasan- Magnatech Business Systems, Inc.
joe at magnatechonline.com Hicksville, NY - USA
http://www.MagnatechOnline.com Tel.(516) 931-4444/Fax.(516) 931-1264
More information about the Filepro-list
mailing list