PhillipsAndrew
Registered User.
- Local time
- Today, 17:07
- Joined
- Aug 7, 2003
- Messages
- 21
Does anyone know how to get a new line in a label using code?
I've tried using the Carriage return - Chr(13) and Linefeed Chr(10) characters, but these just generate non-printing type characters.
My code looks like this:-
strMessage = "Eqpt chosen:" & Chr(10) & Chr(13) & EqptName
Forms!frmMessageBox.Caption strMessage
I know it will work if I use a MsgBox, but I need to display a Message box for only a few seconds (without clicking OK), so I've created a form with a label and timer on it..
Any ideas much appreciated..
AP
I've tried using the Carriage return - Chr(13) and Linefeed Chr(10) characters, but these just generate non-printing type characters.
My code looks like this:-
strMessage = "Eqpt chosen:" & Chr(10) & Chr(13) & EqptName
Forms!frmMessageBox.Caption strMessage
I know it will work if I use a MsgBox, but I need to display a Message box for only a few seconds (without clicking OK), so I've created a form with a label and timer on it..
Any ideas much appreciated..
AP