msgbox show client name selected for deletion

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have code to pop up a confirmation message when user is about to delete a
client name from a form in continuous view.

How can I code the message to say “Confirm deletion of client **client first
name client last name** ?

How do you get the name of the client from the selected record into the
message that pops up?

All suggestions greatly appreciated.
 
I have code to pop up a confirmation message when user is about to delete a
client name from a form in continuous view.

How can I code the message to say ´Confirm deletion of client **client first
name client last name** ?

How do you get the name of the client from the selected record into the
message that pops up?

All suggestions greatly appreciated.

If MsgBox ("Confirm deletion of client " & [ClientFirstName] & " " &
[ClientLastName] , vbExclamation + vbYesNo) = vbYes then
' Delete OK code here
Else
' Dont delete code here
End If
 

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

Similar Threads


Back
Top