Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fixing frx2word bug in report variable initial value
Message
De
26/12/2001 15:42:35
 
 
À
26/12/2001 15:19:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00574226
Message ID:
00598288
Vues:
83
Andrus,


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

Tell me how and where you specify the logo in the report. If the logo is located outside the system folder, is the path specified in SET PATH ? I'll use FULLPATH() in the next release.

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

The toolbars and other stuffs will come back when frx2word complete the process. You can start a functional report in order to restore such things. There is a file called "original word configuration.cfg" in your temp folder wich stores the word configuration. These things are disabled to acomplish better performance.

Fábio


>
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform