Hyperlinks: Invalid Syntax Error - InfoPath Dev
in

InfoPath Dev

Hyperlinks: Invalid Syntax Error

Last post 10-14-2005 08:18 AM by Matt Faus. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 10-12-2005 05:27 PM

    Hyperlinks: Invalid Syntax Error

    Hi Guys,

    Hoping this there is a simple resolution to this problem:

    On my form I have a hyperlink with its source from a text box

    E.g. Data Source: @txtHyeprlink

    If i type www.google.com in the text box and click on the hyperlink:
    I recieve the following error: Invalid Syntax Error and
    the browser address display the following:

    x-view://8b37d4/www.google.com

    Am I missing something?

    Cheers
  • 10-12-2005 06:28 PM In reply to

    Re: Hyperlinks: Invalid Syntax Error

    Hi,

    If you textbox is linked to field1, in the Data Source of the hyperlink, type: concat('http://www.', my:field1,'.com/')
    Then run your form, and type "google" in your textbox...and voila

    Regards,

    Franck Dauché
  • 10-12-2005 08:24 PM In reply to

    Re: Hyperlinks: Invalid Syntax Error

    You're a genius Frank.. cheers
  • 10-12-2005 08:33 PM In reply to

    Re: Hyperlinks: Invalid Syntax Error

    Not quite, but I am glad I could help...

    Franck
  • 10-14-2005 08:18 AM In reply to

    Re: Hyperlinks: Invalid Syntax Error

    Cool! I didn't know you could pass that many parameters to concat()! I have one where I nested like 5 concat()s to get it to work.

    ---------------
    Matt Faus
    Matt Faus / Microsoft InfoPath MVP
    Qdabra® Software / Streamline data gathering to turn process into knowledge
Page 1 of 1 (5 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.