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

Text fields with @ symbol interrepeted as email address

edited December 2011 in General
RB version 12.04 Build 77

Suddenly text data fields such as TppDBtext with an @ symbol preview and
print as email addresses (underlined, blue and linked to email client). Is
there a global switch to turn this off? Or is it a Windows environment
setting?

As always, thanks for your help.

--
Bill Skelton

Landmark Data Systems, Inc.
Two Old River Place, Suite L
Jackson, MS 39202-3435
601-362-0303

Comments

  • edited December 2011
    Hi Bill,

    You can set the DBText.HyperLinkEnabled property to False and this will
    prevent an underlined blue link from being created. If you need to do
    this for multiple components, you can use a report object loop.

    http://www.digital-metaphors.com/rbWiki/Delphi_Code/Layouts/Report_Object_Loop

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited December 2011
    Thank you Nico for your quick response.

    As I look at this code, I would have to apply this to each report, right? I
    have 100 reports in my application so this would be time consuming. Any
    "global solution?"

    Has this been here all along and my customer is just now noticing it? The
    customer said it only started after the last update of our app. We haven't
    changed versions of RB for over two years.

    Thanks again,

    Bill

  • edited December 2011
    Hi Bill,

    The hyperlink feature was added for RB 11 (about three years ago).

    There is no way to globally turn of the feature however you should only
    have to write the object loop once. Once you load a report, simply run
    it through the loop setting the HyperLinkEnabled property to False.

    Best Regards,

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