blob usage from second file

GCC Consulting gcc at optonline.net
Thu Jun 17 09:22:12 PDT 2004


 

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





More information about the Filepro-list mailing list