Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Email option changes DeviceType

edited June 2006 in General
Hello All,

I recently purchased the upgrade from RB 9 (enterprise) to RB 10
(enterprise). One of the reasons that i wanted the upgrade with the new
emailing functionality from the preview window.

After recompiling the projects, I found that we have a small problem with
it. Previously, we had in several reports with code that looks like the
following:

procedure DBText1OnPrint;
begin
if Report.DeviceType = 'Screen' then
begin
DBText1.Font.Color := clBlue;
end
else begin
DBText1.Font.Color := clWindowText;
end;
end;

Which still works fine in RB 10 - UNTIL you use the email feature. After
clicking the email button in the preview, the DeviceType is changed and is
no longer 'Screen'. So all of the "color coding" of the reports goes
aways after exporting to the email client.

I understand what's basically going on - but, it seems like to me that
after the email operation is completed, the DeviceType should still be
'Screen' or should at least revert back to 'Screen'.

Note: I'm using:

XP,
D7,
RB 10 Enterprise,
and Outlook for my email client.

Please let me know if you have questions - or if this was not the best
forum to post to.

Best Regards.

David Saracini

--- posted by geoForum on http://delphi.newswhat.com

Comments

  • edited June 2006
    Hi Dave,

    Which version of RB 10 are you using? I believe we made some changes for RB
    10.03 that should have fixed this issue.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited June 2006
    Thanks for the reply.

    It should be version 10.03. Lisa sent me an email with the following
    "snippet" in it:

    "You can download ReportBuilder Enterprise version 10.03 from:"

    Note: I just purchased, downloaded and upgraded everything yesterday.

    Please let me know if you need/want more info.

    Thanks again.

    Dave



    David Saracini

    --- posted by geoForum on http://delphi.newswhat.com
  • edited June 2006
    Hi Dave,

    If possible, please send a small example demonstrating this issue. In my
    tesing with code similar to your code below, I was unable to recreate the
    behavior you describe. Send the example in .zip format to
    support@digital-metaphors.com.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited June 2006
    Nick,

    Thanks. One of my programmers has created a sample and is emailing it to
    the address you gave. His name is Mike Warren. Please watch for it and
    let me know if you have any questions.

    Thanks again,

    Dave



    David Saracini

    --- posted by geoForum on http://delphi.newswhat.com
  • edited June 2006
    Hi Dave,

    There is now a patch that fixes this issue and I sent it to Mike. If anyone
    else is interested in this patch, please email
    support@digital-metaphors.com.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.