By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,959 Members | 1,136 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,959 IT Pros & Developers. It's quick & easy.

how to create message box when in vb.net after click the button such as delete?

P: 64
Expand|Select|Wrap|Line Numbers
  1. Dim sql as string
  2.  
  3. sql = "DELETE * FROM tablename WHERE fieldname = YES"
  4. docmd.runsql sql
  5.  
  6. end sub
  7.  
how to create statement if or else if...if the user choose not to delete the data?
Feb 17 '15 #1
Share this Question
Share on Google+
1 Reply


100+
P: 228
Why not use dialogresult enum?
Feb 18 '15 #2

Post your reply

Sign in to post your reply or Sign up for a free account.