Msgbox dialog problem

S

Special Access

I have a message box that comes up if the search results are null.
With Access 97, it worked fine. With Access 2000 SP3, (and even prior
to updating) I get this in the message box:

Sorry@No Results from search@Please try again
 
S

Steve Schapel

Special,

Your original code to write the MsgBox message used the @ action
separator which is no longer supported in later versions. If you
define the MsgBox in code, try this...
MsgBox "Sorry" & vbCrLf & vbCrLf & "No Results from search & vbCrLf &
vbCrLf & "Please try again"

- Steve Schapel, Microsoft Access MVP
 
S

Steve Schapel

Sorry, missed out a " should be:
MsgBox "Sorry" & vbCrLf & vbCrLf & "No Results from search" & vbCrLf &
vbCrLf & "Please try again"

- Steve Schapel, Microsoft Access MVP
 
S

Special Access

Sorry, missed out a " should be:
MsgBox "Sorry" & vbCrLf & vbCrLf & "No Results from search" & vbCrLf &
vbCrLf & "Please try again"

- Steve Schapel, Microsoft Access MVP


Figures... just figure something out and MS goes and changes it <grin>

Thanks for the info!
 
S

Steve Schapel

Yes, the Access2000 Help is wrong on this topic :)

- Steve Schapel, Microsoft Access MVP

It had me going because the "help" files still list this as a viable
option. Gotta love MS sometimes <sigh>

Thanks!!

- Steve Schapel, Microsoft Access MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top