Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy report structure to code
Message
De
23/09/2008 07:51:31
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
23/09/2008 07:34:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Divers
Thread ID:
01349758
Message ID:
01349773
Vues:
15
use a temporary web mail account

ask the boss if he want the work done or security role wich does not fit

Do you know UUEn/Decode?
Encode both files, send them as text in the mail and decode teach your customer to decode. Works perfectly with text based mails.

Is the report free of dataenvironment stuff etc?

then you need not much more then CURSORTOXML - XMLTOCURSOR

Create a XML from your frx
use Your.frx
cursortoxml(...)
put the contents of the xmlfile in a mail and ship

create a programm that does the following (not tested, just the idea)
 lcRptFile2 = "YourFRXFRX"
 CREATE CURSOR TempCur (Temp C (10))
 CREATE REPORT (JUSTSTEM(lcRptFile)) FROM TempCur
USE IN TempCur
 USE (lcRptFile) EXCLUSIVE ALIAS RptFile
zap
XMLTOCURSOR(....)
use
Improvements:

wrap the xml in the mail with text endtext, add the report creating code, xmltocursor runs from a variable too.


Agnes
>I have to send code example by email and I cant add attachment (security rule in current office).
>>Chaim,
>>
>>why do you need to do this?
>>
>>What means "in code"? Create the report object by object via code, place it etc? This is very tricky, because the calculation and positioning of the frx is tricky. I think I remember that Cathy mentioned that there was some tool that ships with VFP that one can use to modify a frx.
>>
>>But in the end you need to create the frx somewhere on the user comp. Even if you do on a temp on can trace it.
>>
>>Agnes
>>>Hi
>>>Can I code new report by copy ready report code?
>>>
>>>I will design real report with group\sum etc and will send it to user in code (without FRX\FRT).
>>>
>>>Thanks
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform