Visual Basic

 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me



Go Back   Tutorialized ForumsDesktop ProgrammingVisual Basic

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Tutorialized Forums Sponsor:
  #1  
Old October 1st, 2007, 08:04 AM
Joel19891 Joel19891 is offline
Registered User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Oct 2007
Posts: 1 Joel19891 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 m 31 sec
Reputation Power: 0
Confirmation Box (Ok and Cancel buttons)

I have created a Form whereby users can click on the 'Delete this Record' button which then results in the selected record being deleted from the Database (Linked to Access)

What I want to create is a Confirmation Box that when you click on the 'Delete this Record' command button, it brings up a message box which asks the user whether they wish to continue to delete the record (By Clicking Ok) or if not, by clicking on a 'Cancel' button.

Any ideas on how to create this type of confirmation box?

Cheers.

Reply With Quote
  #2  
Old October 9th, 2007, 12:04 PM
petar.bt petar.bt is offline
Registered User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Aug 2007
Location: Macedonia
Posts: 13 petar.bt User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 6 m 31 sec
Reputation Power: 0
Send a message via MSN to petar.bt
Smile hi

dim response
response=Msgbox"are you sure to delete a record",vbyesNo
if response = vbYes Then
'delete record
else
end sub

Reply With Quote
Reply

Viewing: Tutorialized ForumsDesktop ProgrammingVisual Basic > Confirmation Box (Ok and Cancel buttons)


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

© 2003-2014 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap