I have to enter a space at end of textbox value for lookups - InfoPath Dev
in

InfoPath Dev

I have to enter a space at end of textbox value for lookups

Last post 11-19-2007 12:12 PM by Clay Fox. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 11-19-2007 08:42 AM

    I have to enter a space at end of textbox value for lookups

    Clay,

    Lookups are working, finally figured it all out. Only 1 strange behavior to ask.. When the user enters an account ID into the textbox, if the account ID entered is less than the field size of the table structure, we have to type in a space at the end of the text box. Do you know how to fix this feature?

    Thanks Ed

  • 11-19-2007 12:12 PM In reply to

    Re: I have to enter a space at end of textbox value for lookups

    It is your data type in access or sql.  If you do not use a variable type then the field is always X characters and spaces are padded to the end of data to fit the field.

    You can update the field in the DB to a NVarChar or something and then update all of your data to remove the extra space.

    Or you can add a rule to your entered data to always concatenate the extra space needed on.

    Or I think you could add the normalize function to your filter which would remove the trailing spaces from the list data and let you compare correctly.

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