> While they are in one of my forms viewing the images they may hit a button
> that will bring up a save as prompt. When they decide upon a filename then
> hit save as, I call the code that you have provided. Unfortunately I have
> not had any success at opening the .fpt file. After the file is saved
> 'filename.fpt' I rename it to 'filename.bmp' but am not able to open it
> with paintbrush, etc.
>
> I hope that this is enough background information for you. Oh, my
> programming experience is as follows:
> 2 years MS Access Database - single user application.
> 1 year MS Visual Basic
> 2 months VFP.
>
> Here again is the code snippet that I am using.
>
> SELECT citations
> SET ORDER TO citation_n
> CitationNumber = INT(VAL(CitationNumber))
> SEEK CitationNumber
> COPY FIELD citation_images_signature NEXT 1 TO &Filename
The .fpt file has several header bytes which probably prevent any bitmap proces
sing app to recognize
the format of the file. Try
savename_lc=putfile("*.bmp")
Copy memo citation_images_signature to (savename_lc)
The first line is probably having syntax error (putfile has more parameters, AF
AIK), anyway
savename_lc is the filename of the .bmp file to create. This will work if you s
tore the bitmap to a
memo field using
Append memo citation_images_signature from (bmpfilename_lc)
If you're not sure if the memo field is empty, you may add OverWrite clause. No
w, since it's a
general type or something like that, the memo field may contain some extra head
er, so in that case
I'm not sure.