problem with enters from mysql database into infopathform - InfoPath Dev
in

InfoPath Dev

problem with enters from mysql database into infopathform

Last post 06-04-2012 11:07 PM by Frederik. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 05-16-2012 07:30 AM

    problem with enters from mysql database into infopathform

    Hi,

    I have created a webservice where I retrieve data from the website so that i can use this as an external datasource in my infopathform.

    The xml looks like this:

    <wharves diffgr:id="wharves6" msdata:rowOrder="5" diffgr:hasChanges="modified">

    <werfnr>217</werfnr>
    <wharf_name>text</wharf_name>
    <description>texttexttexttexttexttexttexttexttexttext<enter> texttexttexttexttexttexttexttexttexttext<enter>texttexttexttexttexttext</description>
    <client>text</client>
    <amount>€ 99999999</amount>
    <period>9999</period>
    <CV_Werf>217_text</CV_Werf>
    </wharves>

    In infopath I use this code in a vertical repeating table where the users can select their wharf. The other data is automatically shown due to the use of a filter.

    The problem i have is that if the user selects a wharf where the description containts enters they get this error message:

    A calculation in the form has not been completed. The number of calculations used for a single action exceeded the maximum limit. I think this has something to do with the enters creating an infinite loop. Removing the enters and it works.

     I replaced the enters with html-code but infopath doesn't convert <br/> to a blank line.

    Does anyone have an idea about how to fix this?

     

    I
     
     
     
     
     
  • 06-04-2012 11:07 PM In reply to

    Re: problem with enters from mysql database into infopathform

    It's solved by unselecting the automatic update the field and do the calculation via a rule.
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.