General information
Category:
Coding, syntax & commands
Title:
Get Property value as a string
Hi.
I am trying to get the property 'Value' as a string so that I can subsequently macro expand it .
I have on my base classes a property set up called MyProp and typically I might have in this:
Balnace = 500
Price > 100
Country = 'IRL'
.T.
I then want to take this property into a variable as a string and mix it with some other code , and then macro expand it .
If I do :
MyString = MyTextBox.MyProp I cannt then do MyNewsting='abc' + space(1) + Mystirng because if , for istance, MyProp was = .t., it is treated a a logical variable. In this case, I want to get the String--> .T. into another field reather than the logical .T.
(I know I can always surround the property with quotes and then remove the quotes, but I want to avoid this if possibel)
Any syggestions ?
Regards,
Gerard
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only