Microsoft Access Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMicrosoft Access Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old February 24th, 2005, 11:41 AM
USCitizen USCitizen is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 19 USCitizen User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 21 m 37 sec
Reputation Power: 0
before/afer del confirm event not working

can't quite get why these don't generate any messages when i'm deleting a record:


Private Sub Form_AfterDelConfirm(Status As Integer)
If Me.[Continuing].Value = "Yes" Then
Msg1 = MsgBox("Be advised you have just deleted an AE which continues past this cycle.", vbCritical, "Critical")
End If
End Sub
Private Sub Form_BeforeDelConfirm(Cancel As Integer, Response As Integer)
If Me.[Continuing].Value = "Yes" Then
Msg1 = MsgBox("Be advised you are preparing to delete an AE which continues past this cycle.", vbCritical, "Critical")
End If
End Sub

all i do get is the standard windows confirmatory window??

Last edited by USCitizen : February 24th, 2005 at 12:03 PM. Reason: before/afer del confirm event not working

Reply With Quote
  #2  
Old February 24th, 2005, 03:09 PM
Mr_Jones Mr_Jones is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 20 Mr_Jones User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 15 m 34 sec
Reputation Power: 0
If you want the msgbox to display then instead of...

Msg1 = MsgBox("Be advised you are preparing to delete an AE which continues past this cycle.", vbCritical, "Critical")

... use....

MsgBox "Be advised you are preparing to delete an AE which continues past this cycle.", vbCritical, "Critical"

hope that helps

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMicrosoft Access Development > before/afer del confirm event now working


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 | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT