Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fixing frx2word bug in report variable initial value
Message
From
26/12/2001 15:19:50
 
 
To
26/12/2001 13:38:26
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00574226
Message ID:
00598274
Views:
82
Fabio,
thank you for reply.

All my invoice reports have a single logo (a .bmp file). Report preview is ok.
Unfortunately I am not able to change reports manually since .frx files are
in my customer sites (there are hundres of such reports). I can only send them a new .exe file with fixes.

Is this problem related to a new image file directory property? Colin and I use it.
I thin it must be better that frx2word must dedect bmp directory automatically.
If bmp is noy found, a default bmp must be written like in report command.
Where to put a check to a bmp file existence in frx2word ?

I will try to delete normal.dot file tomorrow. Note also, that after this error,
word loses ALL toolbars, status line, ALL scrollbars.


>Hi, Colin and Andrus
>
>If after erasing 'normal.dot' you still found an ole error in cut operation, probably it happens when word try to place a picture file.
>In this case please review your code and try the following approach:
>
>m.clogocli = "\\server\applic\bitmaps\logo.jpg"
>
>select tmptable
>IF FILE(m.clogocli)
> replace logo with m.clogocli && field "logo" is a memo field
>ENDIF

>
>Inside the report, open properties dialog from picture, select "file" option and write "tmptable.logo" in the related box.
>
>This is a good way, because if the logo file doesn't exist, the report is still generated avoiding runtime errors.
>
>Fabio
Andrus
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform