MsgBox in Access XP

Dina01

Registered User.
Local time
Today, 00:58
Joined
Apr 24, 2002
Messages
87
Hello I create a program in Access 97 but when I convert it to AccessXP. All my custome messages, don't go on seperate lines.

For example...

chMsg = MsgBox("Vous devez inscrire votre nom d'utilisateur et mot de passe pour connecter au programme.@ " _
& "@Appuyez " _
& "sur OK pour inscrire l'information requis.", vbInformation, "CONNECTION AU SYSTÈME")

Well, accessXP doesn't seperate the lines with @

Can anyone please help..
 
Access 2000 and 2002 do not support the @ in message boxes. Too bad because I liked the bolding it allowed on the first line of the message box in Access 97.

Using & vbCrLf & vbLf will give your text strings a new line in your message boxes.

HTH
 

Users who are viewing this thread

Back
Top Bottom