YorN for Confirmation

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

Guest

I am new at Access and rusty at VB. I'm building a donor tracker for offerings. When user enters the envelope number then the amount, before they post the transaction, how do I write an ifThenelse statement that will display a pop up screen with a Y or N Confirmation, with Y = Post transaction and N = return to amount field?
 
Try something along the lines of

If Msgbox("Do You Wish to Post the Transaction?", vbYesNo)
= vbYes Then
code to post transaction
else
amountField.SetFocus
End If

Hope This Helps
Gerald Stanley MCSD
-----Original Message-----
I am new at Access and rusty at VB. I'm building a donor
tracker for offerings. When user enters the envelope number
then the amount, before they post the transaction, how do I
write an ifThenelse statement that will display a pop up
screen with a Y or N Confirmation, with Y = Post
transaction and N = return to amount field?
 
Back
Top