Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to equal two Characters
Message
 
 
À
27/01/2010 14:50:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01446224
Message ID:
01446225
Vues:
59
>Hello i have the following code
>
>	
>MESSAGEBOX(thisform.pageframe1.page5.txtnum2.Value )&& pelt0006
>	MESSAGEBOX(cNextnum)&& pelt0006
>	IF cnext == thisform.pageframe1.page5.txtnum2.Value 
>	MESSAGEBOX('caught')
>	ELSE
>	MESSAGEBOX('not caught')
>	ENDIF 
>
>
>
>Any one can tell me why the message "Not Caught" comes up?
>i use if cnextnum== and = no difference

Try using alltrim for both values to trim extra spaces. BTW, you're using different variables. cNext and cNextNum. Are they the same?
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform