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?
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement