How to return selected text from text box?

L

Leon

Hi!

The problem is simple, but the answer... ;)

Thanx for all of your help!

Leon!

Ps. Access 2k
 
W

Wayne Morgan

The control has to have the focus for this to work.

CtrlName.SelText

will return the value of the selected text in a control. If you assign a
value to SelText, it will replace the selected text with the value you
assign.
 
L

Leon

:)

U¿ytkownik "Wayne Morgan said:
The control has to have the focus for this to work.

CtrlName.SelText

will return the value of the selected text in a control. If you assign a
value to SelText, it will replace the selected text with the value you
assign.
 
Top