InfoPath - SQL: Character Limitations Within InfoPath - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

InfoPath - SQL: Character Limitations Within InfoPath

Last post 12-11-2008 04:12 AM by ZaiZai. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 12-10-2008 09:02 AM

    InfoPath - SQL: Character Limitations Within InfoPath

    Anyone know a workaround to InfoPath's limitations to only except vchar(8000) data type for a text field?  Anything larger like vchar(MAX) InfoPath thinks that it is a long text type object and doesn't allow the form to submit correctly. 

    How do I allow InforPath 2003 with a main data connections to a SQL Server 2005 table to allow more than 8000 characters?

    Or maybe the question should be: What data type within SQL should I use in the form to allow more than 8000 characters? 

    vchar(8000) is the best that I can come up with....was hoping vchar(max) would work..but no dice.

     

    Thoughts?

  • 12-10-2008 09:49 PM In reply to

    • Anuma
    • Top 25 Contributor
      Female
    • Joined on 07-20-2005
    • India
    • Posts 525

    Re: InfoPath - SQL: Character Limitations Within InfoPath

    Hi,

    You can use nvarchar(MAX) data type in the SQL.

    Anuma Chinthapalli /
    http://www.GGKTech.com
  • 12-11-2008 04:12 AM In reply to

    Re: InfoPath - SQL: Character Limitations Within InfoPath

    Thanks for the reply.  I just tried the nvarchar(MAX) and InfoPath still disables the submit feature of my main data connection.  InfoPath stills sees it as a long data type.  Is there something else that I was supposed to set up?  I redid the data connection but still no luck.  How did you get the connection to retrieve and submit in InfoPath using nvarchar(MAX)?

Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.