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.
OffThere is no place like [::1]