Msgbos Question

Slides_Library

New member
Local time
Today, 10:22
Joined
Jan 29, 2008
Messages
5
I want to have a msgbox tell the user if an [accnum] field is blank. But I also want it to say what should be there.

Code:
If IsNull (Me.Accnum_2)=False Then Msgbox "Accession Number [Value of accnum field here] has not been entered in Accession Number Form"

I was thinking I could have it fill in for each record missing don't know if it is possible

Thanks
Slides_Library
 
Generally:

Msgbox "Accession Number " & [Value of accnum field here] & " has not been..."
 
Thanks for the repley I should of known it would be that easy.

Slides
 
Just a quick question about this too. It sounds like you are storing redundant data because why would you tell the user to enter a number when you already have it somewhere else?
 
I think maybe the number is the PK but if you already know what the value should be why not just fill it in automatically instead of prompting the user.
 

Users who are viewing this thread

Back
Top Bottom