Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to equal two Characters
Message
From
27/01/2010 15:04:26
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01446224
Message ID:
01446230
Views:
44
>>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?
yes alltrim works you also > all but it was an error in writing it here they both were cnextnum srry
Previous
Reply
Map
View

Click here to load this message in the networking platform