
Signature
If I answered your question, please mark it as an answer. That way, it will
stay saved for a longer time, so other can benifit from it.
Good luck
lastly, I dont want to keep them stuck on this record (as this function does
until they enter data into the 2 fields) - I simply want to alert them to the
fact that the two fields have not been populated...and then allow them to
move on if they wish.
There is a scenario where these elements may not be available...
Can you offer any advice on hiw I can do this?
Thanks again.
BTW, how do I mark a post as "Answered"?
M
> No problem, just add the other line again
> Private Sub Form_BeforeUpdate(Cancel As Integer)
[quoted text clipped - 94 lines]
> > > > > > > > Thanks anyone!!
> > > > > > > > M
Ofer - 26 Oct 2005 19:55 GMT
Give the user a message with an option to continue
If IsNull(Me.[Sales Alert Date]) Or IsNull(Me.Eligibles) Then
If msgbox ("Sales Alert Date and Eligibles are not complete, do you wish
to continue anyway?",vbYesNo)<>vbYes then
cancel = true
End If
============================
On the buttom of my replay it ask if I answered your question, you can mark
it as Yes
Good luck
> lastly, I dont want to keep them stuck on this record (as this function does
> until they enter data into the 2 fields) - I simply want to alert them to the
[quoted text clipped - 109 lines]
> > > > > > > > > Thanks anyone!!
> > > > > > > > > M
Monish - 26 Oct 2005 21:41 GMT
Honestly this is my last qn on this topic...
Is there a way I can format this messgae box so that it looks like this:
One or more of the following fields are incomplete:
Sales Alert Date
Eligibles
Something Else
Would you like to continue anyway?
======
Instead of how it currently scrolls across the screen?
M
> Give the user a message with an option to continue
> If IsNull(Me.[Sales Alert Date]) Or IsNull(Me.Eligibles) Then
[quoted text clipped - 121 lines]
> > > > > > > > > > Thanks anyone!!
> > > > > > > > > > M
Ofer - 26 Oct 2005 22:02 GMT
No problem, try this
Dim MyMsg As String
MyMsg = "One or more of the following fields are incomplete:" & Chr(13) & _
"Sales Alert Date " & Chr(13) & _
"Eligibles " & Chr(13) & _
"Something Else" & Chr(13) & Chr(13) & _
"Would you like to continue anyway?"
If IsNull(Me.[Sales Alert Date]) Or IsNull(Me.Eligibles) Then
If msgbox (MyMsg ,vbYesNo)<>vbYes then
cancel = true
end if
End If
Good luck
> Honestly this is my last qn on this topic...
>
[quoted text clipped - 137 lines]
> > > > > > > > > > > Thanks anyone!!
> > > > > > > > > > > M