Sachin,
you can use following Run-If Qualification to check a field for numbers and
display an error message if not
Run-IF:
not ('tmp_field' like "[0-9]" or 'tmp_field' like "[0-9][0-9]" or 'tmp_field'
like "[0-9][0-9][0-9]" or 'tmp_field' like "[0-9][0-9][0-9][0-9]")
If Action:
Error-Message
Kind Regards Conny
-----Ursprüngliche Nachricht-----
Von: Action Request System discussion list(ARSList)
[mailto:[email protected]] Im Auftrag von nsachin
Gesendet: Montag, 27. April 2009 12:19
An: [email protected]
Betreff: Re: Number Validation
Thanks Shafqat,
I had used $DIGIT$ patten in the temporary field.But the error message contains
the field id of this temporary field if this field doesn't contain
numbers.Instead,i want to give a customized message if the format of the
character field is not like 'APP1234' i.e alphates and then followed by number.
Regards,
Hi
you could look at the keyword $DIGIT$. You can define this in the pattern field
on the Attributes tab of the field properties.
if you need further help drop me a line
shafqat
--- On Mon, 4/27/09, nsachin <[email protected]> wrote:
> From: nsachin <[email protected]>
> Subject: Number Validation
> To: [email protected]
> Date: Monday, April 27, 2009, 5:22 AM
> Hello Listers,
>
> I have one character field.This field should contain 'characters and
> then followed by numbers'.For example the field should contain the
> value of 'PRQ1234'.I am extracting the string after PRQ in a temporary
> field.So,the temporary field will have value if 1234 in this case.But,
> if this temporary field contains a value other than numbers,then the
> user should get a error message.
>
> How should i check if this temporary field contains only numbers
> after alphabets?
>
> Please help me on this.
>
> :confused:
> --
> View this message in context:
> http://n2.nabble.com/Number-Validation-tp2721765p2721765.html
> Sent from the ARS (Action Request System) mailing list archive at
> Nabble.com.
>
> ______________________________________________________________________
> _________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
> Platinum Sponsor:[email protected] ARSlist:
> "Where the Answers Are"
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum
Sponsor:[email protected] ARSlist: "Where the Answers Are"
--
View this message in context:
http://n2.nabble.com/Number-Validation-tp2721765p2724988.html
Sent from the ARS (Action Request System) mailing list archive at Nabble.com.
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum
Sponsor:[email protected] ARSlist: "Where the Answers Are"
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor:[email protected] ARSlist: "Where the Answers Are"