soundsfishy
Registered User.
- Local time
- Tomorrow, 00:11
- Joined
- Sep 25, 2002
- Messages
- 174
I need a piece of code that alerts users after they have click the save button that some field havent been field in. The fields are not mandatory. I need the null fields displayed in the message
What im after is something like this;
Private Sub btnSave_Click()
Dim strOfficer As String
Dim strUnitSize As String
Dim strNationality As String
If IsNull.....(strOfficer) Or IsNull(strUnitSize) etc then
MsgBox" The following have not been entered. Is this correct?", vbYesNo & vbNewLine & _
strOfficer
strUnitSize
srtNationality
End If
End Sub
I having trouble tring to understand how the Dim.
What im after is something like this;
Private Sub btnSave_Click()
Dim strOfficer As String
Dim strUnitSize As String
Dim strNationality As String
If IsNull.....(strOfficer) Or IsNull(strUnitSize) etc then
MsgBox" The following have not been entered. Is this correct?", vbYesNo & vbNewLine & _
strOfficer
strUnitSize
srtNationality
End If
End Sub
I having trouble tring to understand how the Dim.
Last edited: