on 02-23-2009 1:48 PM
Hello,
Is there any simple way (explicit or emplicit ) to convert a number data type such as I , to a string data type?
for example :
Data MyNumber type I.
Data MyString type String.
MyNumber = 50.
MyString = MyNumber.
BR,
Guy
Check this.
Data MyNumber type I.
Data MyString type String.
MyNumber = 50.
MyString = 'MyNumber'.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can't use type N in FOX otherwise it would have been very simple if you use N instead of String for MyString.
But, now what you can do is write a simple function module, export your no. to it and inside FM assign that number to a type N field and return that field value to your FOX assigning it to MyString.
User | Count |
---|---|
78 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.