Data Type Question: varchar8000 SQL Server 2005 & InfoPath 2003 - InfoPath Dev
in

InfoPath Dev

Data Type Question: varchar8000 SQL Server 2005 & InfoPath 2003

Last post 12-03-2008 03:41 AM by ZaiZai. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 12-02-2008 02:40 AM

    Data Type Question: varchar8000 SQL Server 2005 & InfoPath 2003

    Curious if this type of data type (varchar8000) in SQL 2005 will function correctly in InfoPath 2003.  Will InfoPath truncate anything over 255 characters?  InfoPath didn't give me any errors or issues when I set it up with these data types initially.  I just want to make sure that it can handle it...I suppose I can test it for myself actually...but if someone knows the answer right now that is cool too.  Also, if this an issue then what and how does a form handle text in a form that is greater than 255?

  • 12-02-2008 02:48 AM In reply to

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

    Re: Data Type Question: varchar8000 SQL Server 2005 & InfoPath 2003

    Hi,

     It will truncate the data  to 255 chars, if we give the limit as 255 chars in the db.

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

    Re: Data Type Question: varchar8000 SQL Server 2005 & InfoPath 2003

    First, thanks for the reply. 

    This is an issue.  The nature of this form revolves around a job intake process which admins update with progress notes.  Is there any workaround to this?

  • 12-02-2008 10:06 AM In reply to

    Re: Data Type Question: varchar8000 SQL Server 2005 & InfoPath 2003

    Actually, I think Anuma meant that if the field in your database is smaller than the amount of characters typed into the field on the form, the form information will be truncated on submission to the database. I don't know of any character length restrictions, unless you set one on a control, via its properties or data validation....

    Hilary Stoupa

  • 12-02-2008 08:27 PM In reply to

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

    Re: Data Type Question: varchar8000 SQL Server 2005 & InfoPath 2003

    Hi,

    You can increase the length for that data type in the db or you can add the length limit for that field in the infopath form.

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

    Re: Data Type Question: varchar8000 SQL Server 2005 & InfoPath 2003

    Thanks everyone for your inputs.  I ended up testing it out and InfoPath doesn't have any limitations really.  My SQL data type was set at varchar8000 and InfoPath handles it just fine.  That is good news.

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