Hi friends,
Thanks for [email protected] for giving me the solution..
i got result,by following the method mentioned below..
Public Function fncEvaluoCeroUno (v_cadena)
fncEvaluoCeroUno = "VALID"
For i = 1 To len(v_cadena)
codAsc = Asc(mid(v_cadena,i ,1))
If not(codAsc = 48 or codAsc = 49) Then
fncEvaluoCeroUno = "INVALID"
Exit For
End if
Next
End Function
On Sat, Feb 14, 2015 at 2:11 AM, Parke Kuntz <[email protected]> wrote:
> Prakash:
>
> Do you want to limit the values that can be entered to only be 0 or 1 do
> you just want to say the value is not a binary number?
>
> Using regular expressions might be the way to go.
>
> Parke
>
> On Thu, Feb 12, 2015 at 11:10 PM, Prakash Sethupathi <
> [email protected]> wrote:
>
>> Hi Parke,
>> Thanks for your response..
>> yes the number can be in binary.
>>
>> On Fri, Feb 13, 2015 at 5:36 AM, Parke Kuntz <[email protected]>
>> wrote:
>>
>>> Are you trying to say that only binary numbers are in the field?
>>>
>>> On Thu, Feb 12, 2015 at 6:05 AM, Prakash Sethupathi <
>>> [email protected]> wrote:
>>>
>>>>
>>>>
>>>> On Thu, Feb 12, 2015 at 4:34 PM, Prakash Sethupathi <
>>>> [email protected]> wrote:
>>>>
>>>>> Hi Friends,
>>>>> I need a program[it may be in any language] or explanation for
>>>>> below mentioned concepts.
>>>>>
>>>>> Concept:
>>>>> I have text column it contains only numeric value of any numbers.
>>>>> but when a user enter 0 or 1 the text column need to be valid. if
>>>>> else it not to be valid.
>>>>>
>>>>> Eg: 0 valid
>>>>> 1 valid
>>>>> 01 Valid
>>>>> 10 valid
>>>>>
>>>>> 20 invalid
>>>>> 02 invalid
>>>>>
>>>>> 100 valid
>>>>> 200 invalid
>>>>>
>>>>>
>>>>> Can any one give suggestion for me...
>>>>>
>>>>> Solution and results are more welcomed....
>>>>>
>>>>>
>>>>> --
>>>>> Regards,
>>>>> S Prakash
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Regards,
>>>> S Prakash
>>>> 9094394616
>>>>
>>>> --
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> "QTP - HP Quick Test Professional - Automated Software Testing"
>>>> group.
>>>> To post to this group, send email to [email protected]
>>>> To unsubscribe from this group, send email to
>>>> [email protected]
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/MercuryQTP?hl=en
>>>>
>>>> ---
>>>> You received this message because you are subscribed to the Google
>>>> Groups "QTP - HP Quick Test Professional - Automated Software Testing"
>>>> group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>>
>>> --
>>> Parke
>>> Cell: 770-842-0121
>>>
>>> --
>>> --
>>> You received this message because you are subscribed to the Google
>>> "QTP - HP Quick Test Professional - Automated Software Testing"
>>> group.
>>> To post to this group, send email to [email protected]
>>> To unsubscribe from this group, send email to
>>> [email protected]
>>> For more options, visit this group at
>>> http://groups.google.com/group/MercuryQTP?hl=en
>>>
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "QTP - HP Quick Test Professional - Automated Software Testing"
>>> group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Regards,
>> S Prakash
>> 9094394616
>>
>> --
>> --
>> You received this message because you are subscribed to the Google
>> "QTP - HP Quick Test Professional - Automated Software Testing"
>> group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/MercuryQTP?hl=en
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "QTP - HP Quick Test Professional - Automated Software Testing" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Parke
> Cell: 770-842-0121
>
> --
> --
> You received this message because you are subscribed to the Google
> "QTP - HP Quick Test Professional - Automated Software Testing"
> group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/MercuryQTP?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "QTP - HP Quick Test Professional - Automated Software Testing" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
--
Regards,
S Prakash
9094394616
--
--
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en
---
You received this message because you are subscribed to the Google Groups "QTP
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.