General information
Category:
Object Oriented Programming
Yeah, right, it defaults to Logical, But in the visual environment I don't see how to set the data type. I can just "Add Property" and it defaults to logical.
So that's probably my problem there. How do I set the data type on a property?
>Hi Sebastiaan,
>
>You should certainly be able to use an string functions on a character based property of your object such as x=len(allt(client.name)). Perhaps the property is not initialized to character? It defaults to logical. What is the error message you get? What is the line of code?
>
>>Hi, all
>>
>>Probably a newbie question here, but I created an object (for instance client) and added the property name to it. Now I can use the object anyway I want, but as soon as I want to use the contents of that property to do some text-editing (like doing a LEFT() or a LEN() function) I get an error message. I assume this is due to a difference in character data-types and object-property types.
>>
>>Anyone know a function to translate object properties to tekst-strings?
>>
>>thanks,
>>Sebastian
Previous
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