main logo
Subject: RE: Copy a file in and out of a memo field
Author: "Dan Neuman"
Posted: 2005/11/30 13:55:30
 
View Entire Thread
New Search


Michael,

Will the FileToStr() grab all the binary parts of the DBF/CDX/FPT?

My delimna is these are DB4 format DBFs and the foxpro create table
commands makes the structure slightly different. But fox has no problem
reading/writing to the other format, so my plan is to distribute the
files in a few memo fields, then on site, copy them out when needed.

For some reason, I am thinking that is easier than using a ZIP file, and
extracting it during program execution.

Thanks,
Dan Neuman

-----Original Message-----
From: profoxtech-bounces .at. leafe .D.O.T com [mailto:profoxtech-bounces@leafe.com]
On Behalf Of MB Software Solutions
Sent: Wednesday, November 30, 2005 10:45 AM
To: profoxtech .at. leafe .D.O.T com
Subject: Re: Copy a file in and out of a memo field

Dan Neuman wrote:

>Hello all.
>
>I want to distribute files to my clients inside a table.
>
>How do you copy tables in and out of memo fields?
>
>
>Thanks,
>Dan Neuman
>
>

Hi Dan,

You could use FILETOSTR() but make sure you include all the necessary
parts--for example, don't forget the CDX/FPT if they are required--but
I'm guessing you meant just single files like EXE/APP/TXT/DOC files,
right?

--Michael





 
©2005 Dan Neuman
<-- Prior Message New Search Next Message -->