Case sensitive fields

T

Terry

Hello all,
I am trying to setup a form with a lookup XML table and the data I am
receiving to access the lookup can come accross as either Title Case or
UPPERCASE. Is there any way I can make fields non-case sensitive?
 
B

Ben Walters

Hey Terry,
Sorry but no the case sensitivity is inherent in the XML model. Your best
bet is to read your XML file into a staging area then update all the fields
to a standard (either upper case or title case) then connect your InfoPath
form to it.

Hope this helps

Cheers
Ben
 
G

Greg Collins [InfoPath MVP]

When you make your comparison between field values, translate each of them into just upper or lowercase.

translate(field1, "ABCDEFGHIJKLMNOPQRSTUVWXYZ", "abcdefghijklmnopqrstuvwxyz") = translate(field2, "ABCDEFGHIJKLMNOPQRSTUVWXYZ", "abcdefghijklmnopqrstuvwxyz")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top