Quick Question about b4update

S

speederpro

sub Form_BeforeUpdate(Cancel as Integer)
dim strResponse as string
strResponse = msgbox ("Do you want to save?", vbyesno)
if strresponse = vbno
cancel = true
else
cancel = false
end if
end sub

put this in your form
 

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