marky-b
public text v1 · immutable' Display a message box to determine if the user would like to edit an existing entry
Dim response As DialogResult
MessageBox.Show("There is already a record for " & firstNameString & _
" " & lastNameString & "." & ControlChars.NewLine & _
"Would you like to edit the existing record?", "Input Error", MessageBoxButtons.YesNo)
If response = Windows.Forms.DialogResult.Yes Then
frmEdit.Show()
End If