CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 case sensitive problem in formula

Print topic Send  topic

Author Message
JimbobGilb

Posts: 28
Posted: 11/09/2011, 11:47 PM

I have an onvalidate function

If PickedItems.PartNumber.Text <> PickedItems.HPartNumber.text then PickedItems.Errors.addError("INCORRECT PART NUMBER")

But this appears to be case sensitive. It throws up "INCORRECT PART NUMBER" when field PartNumber is NH and HPartnumber is nh

This is all pulled from access database

What is the best way to make HPartNumber uppercase or tell the formula not to be case sensitive?

Thanks in advance,

View profile  Send private message
TheunisP

Posts: 342
Posted: 11/10/2011, 12:08 AM

wrap both in either lcase() or ucuse()?
View profile  Send private message
TheunisP

Posts: 342
Posted: 11/10/2011, 12:13 AM

for that matter ucase both if you want to make sure that it is uppercase equal

another idea is to ucase the field just before you insert and update - that way it is nice upcase everytime you display it in a grid or whatever

View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.