Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Searching for characters
Message
From
24/01/2003 08:15:33
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
 
 
To
24/01/2003 03:17:03
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00744971
Message ID:
00745027
Views:
20
Goodmorning Jos:

Thak you for your kind reponse. With the IF statement, I want to check if variable mCharacters contains any of the alphabetic letters. If it does then, I want to remove the first two characters, which are the position that could potentially have alphabectic characters, so that all that is left are numbers. This field has been declared as a Character field.

Thank you Jos.

>Henry, none of the lines are wrong in any obvious way - provided mCharacters and mOldID exist and IncompleteList is an object with ID as a property. What are you trying to do with this code snippet?
>
>
>>Hi all:
>>
>>The following code does not want to work.
>>
>>
IF mCharacters = ("ABCDEFGHIJKLMNOPQRSTXYZ")
>>			mID = alltrim(SUBSTR(mOldID,3,7))
>>		ELSE
>>			mOldID = IncompleteList.ID
>>		ENDIF
>>
>>Where am I going wrong? TIA.
- Ravi

True greatness consists in being great in little things.
- Charles Simmons
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform