Access 2013 two line msgbox

basilyos

Registered User.
Local time
Today, 15:16
Joined
Jan 13, 2014
Messages
256
how to write a vba msgbox with two lines i access 2013

i try to put chr(13) and alse i used & vbCrLf& but nothing is worked

they seems to be for an earlier version

any help??
 
& vbCrLf &

this should work

MsgBox "" & Me.txtTlog.Value & vbCrLf & Me.txtIDD.Value
 
she's not work

this is my msg
Answer = MsgBox("Do You Want To Delete " & [Type] & " Number " & [IDD] & " For {" & [Full_Name] & "} ", vbYesNo + vbQuestion + vbDefaultButton1 + vbMsgBoxRtlReading, "Client Database")

i want my msgbox to look like this
MSGBOX
Do You Want To Delete : Type
His Number ID Is : Number
The Client Name Is : Name

yes no
 
So this is not working for you?
Code:
MsgBox("Do You Want To Delete " & [Type] [COLOR=Red][B]& vbCrLf &[/B][/COLOR] [COLOR=Red][B]_[/B][/COLOR]
       "Number " & [IDD] [COLOR=Red][B]& vbCrLf &[/B][B] _[/B][/COLOR]
       "For {" & [Full_Name] & "}", vbYesNo + vbQuestion + vbDefaultButton1, "Client Database")
 
thank you it works but i have a little issue
my database in arabic so how to let the lines begin from the right to left
i used vbMsgBoxRtlReading
the shape was turned but the sentences still from left to right
 

Users who are viewing this thread

Back
Top Bottom