P peterbowles Registered User. Local time Today, 10:42 Joined Oct 11, 2002 Messages 163 May 2, 2003 #1 If you are on a form and you add a duplicate value. you get MS horrible message can you get rid of this and have your own thanks
If you are on a form and you add a duplicate value. you get MS horrible message can you get rid of this and have your own thanks
NJudson Who farted? Local time Today, 05:42 Joined Feb 14, 2002 Messages 297 May 2, 2003 #2 I may be wrong but can you set the On Change event property or maybe the After Update property with your own error handling message? I'm not sure if it would disable the default access error message but maybe its worth a shot. HTH
I may be wrong but can you set the On Change event property or maybe the After Update property with your own error handling message? I'm not sure if it would disable the default access error message but maybe its worth a shot. HTH
P peterbowles Registered User. Local time Today, 10:42 Joined Oct 11, 2002 Messages 163 May 3, 2003 #3 in the on error event of the form I put Msgbox "You have already selected this part number. " Me.PartNo.setfocus Me.partNo.dropdown It works ok but still produces the access error messages Any Ideas
in the on error event of the form I put Msgbox "You have already selected this part number. " Me.PartNo.setfocus Me.partNo.dropdown It works ok but still produces the access error messages Any Ideas
W WayneRyan AWF VIP Local time Today, 10:42 Joined Nov 19, 2002 Messages 7,120 May 3, 2003 #4 Peter, You can use a DLookup on the BeforeUpdate event of the PK field and trap the error if it exists. There are many examples here, use the search. Wayne
Peter, You can use a DLookup on the BeforeUpdate event of the PK field and trap the error if it exists. There are many examples here, use the search. Wayne