Jump to content

This topic is 7157 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have a problem in getting validation separate letter+number "p1" and number only "1" as Unique value.

If I define the (number) field as Unique value I get a message that the number is in use if I enter letter +existing numbervalue.

If I define the (text) field as Unique value I have no problem entering Unique values ... but then when I use sort or find...

Need to have numbers as sorting and text when entering. How do I do that.

Or how do I calculate the Unique value upon entering data.

Peter Norling Sweden

Ps. The numbers entered are starting numbers for dragracing and Cars have number (1078) and Bikes have Letters + Numbers (Mc1078)

Posted

Hi,

For number fields, the validation will ignore any non-numeric characters, so 1000 and MC1000 are the same.

In text fields, all characters are evaluated, and 1000 and MC1000 will not be regarded as equal.

So make your field a text field. For sorting, create another calculation field, result number :) GetAsNumber(UniqueField) and sort on that.

Regards,

Peter

This topic is 7157 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.