Re: FPW2.6a Append General Problem
- From: "Roger Ansell" <notmyreal@xxxxxxxxxxxxxxxx>
- Date: Fri, 4 May 2007 10:29:26 +0930
"Ray" <rgk321CUTSPAM@xxxxxxxxxxx> wrote in message
news:jiq_h.11429$3P3.7231@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thanks for the response Roger. I tried what you suggested with the
following results.
1. The size of the bmp file does not effect the results for me. I
tried files from 151KB to 22KB with the same results. I have not
gotten the 'Cannot create OLE object' error.
2. The times when appending a picture fails, it appears that the
Append General just does not work correctly - the original picture
remains but (until refocused) the picture field shows blank.
3. My results are the same with or without the Class clause as far
as the appending of a picture file is concerned. (I discovered back
in the original design phase that without the Class PBRUSH clause
there was a serious problem. Changing an existing picture without
the clause adds the new data to the old - the fpt file size increases
by the sum of both pictures causing file blote. This can be
confirmed by snooping in the fpt file for the picture data and also
by noting the actual fpt file sizes. With the clause, the original
picture data is overwritten and the fpt file size is correct after a
pack.)
OK. Strange though how on my machine 400K+ BMPs just refuse to display
in FPW with 'Class = PBRUSH' included in the Append General command.
4. I have heard of a few cases where a user has seen the 'Cannot
create OLE object' error in a similar situation but I was never able
to reproduce or troubleshoot it satisfactorily.
Yes, I could find no pattern to them.
5. I get exactly the same results (all of the above) from the
command line as I do from within the program.
6. A big mistery to me is why the problem with my setup occurs
EVERY-OTHER-TIME an image is entered into the same record. This
seems to occur consistently for me.
Very odd indeed. Is there any anti-virus software running on the
XP box? If so, try excluding FPTs from being scanned. I know that
doesn't really explain why this problem happens every other
time but AV software can cause strange behaviour - particularly
when there's so much going on under the hood in an Append General.
I wonder if this could have anything to do with FPW2.6 setup. What
do you have for your config.fpw file? I had to mess around with it a
long time ago in the MEMLIMIT command line. I use MEMLIMIT=60, 2048,
15360.
I've got MEMLIMIT = 25,1024,24276. It's probably worth experimenting
with this.
-Roger
.
- References:
- FPW2.6a Append General Problem
- From: Ray
- Re: FPW2.6a Append General Problem
- From: Roger Ansell
- Re: FPW2.6a Append General Problem
- From: Ray
- FPW2.6a Append General Problem
- Prev by Date: record out of range
- Next by Date: Re: How could I CLEAR LASTKEY?
- Previous by thread: Re: FPW2.6a Append General Problem
- Next by thread: SQL and BETWEEN
- Index(es):
Relevant Pages
|