Oops for my other reply. :) Ed didn't answer to you.
Beside reversing the order of tests, the TYPE() test should be:
TYPE(This.cMemoField) = "C"
Vlad
>LPARAMETERS nButton, nShift, nXCoord, nYCoord
>IF !EMPTY(This.cMemoField) AND TYPE(This.cMemoField) = "M"
> This.ToolTipText = LEFT(EVAL(This.cMemoField), This.nMemoLength)
>ENDIF
>
>
>I set the cMemoField to the field name of my memo field (myTable.myMemo).
>I set the nMemoLength to 30.
>
>In the debugger when I check the "LEFT(EVAL(This.cMemoField), This.nMemoLength)
>" expression, it has the correct value. But, after the assignment to the ToolTipText property, the property remains empty ("").
>
>What gives?
Previous
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