YorN for Confirmation

A

Ababillis

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?
 
G

Gerald Stanley

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?
 

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

Top