Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Check string of characters?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00138984
Message ID:
00139008
Vues:
23
I think that you'll have to write a UDF to do this yourself.
If you can't tell us what the criteria are that need to be checked then we can't very well tell you how to do it.

If you want to give us the sordid details, we'll be glad to help out.

>Thanks Ed!
>
>>So, what's the problem with checking Textbox.Value? If you're worrying about omitting '-' characters, then Format="R" will do this automatically.
>>
>>>Ed,
>>>
>>>When I say wildcard I mean any different numbers in a particular
>>>format string? The format of the string would remain the same, ie
>>>7425-234-3453-2345, however the actual number would change.
>>>Thanks
>>>B
>>>
>>>
>>>>You will check Textbox.Value property. I don't understand what you call 'wildcard' characters.
>>>>
>>>>>Ed,
>>>>>
>>>>>What if I want to change these actual characters each time. Ie
>>>>>Product registration number for each user? How do I check wildcard
>>>>>characters in a string?
>>>>>
>>>>>Thanks and have a good day!
>>>>>
>>>>>Becky
>>>>>
>>>>>
>>>>>>>vfp 3.0 win 95
>>>>>>>
>>>>>>>I need to compare a string of characters typed into
>>>>>>>a text box.
>>>>>>>
>>>>>>>Say for example Q7428-452-6587-1234
>>>>>>>
>>>>>>>I need to check alpa and numeric characters in a specific
>>>>>>>order. I want the form to check for this string before it
>>>>>>>will run the form.
>>>>>>>
>>>>>>>Thanks and have a good day!
>>>>>>>
>>>>>>>Becky
>>>>>>
>>>>>>This is standard way:
>>>>>>IF cString1=="Q7428-452-6587-1234"
>>>>>>ELSE
>>>>>>ENDIF
-cjh
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform