pedie
Well-known Member
- Joined
- Apr 28, 2010
- Messages
- 3,875
Hi,
'm trying to prevent form from closing exept through button click....how can i do this in access? the below code wont work in access form
I only till now know how to set warning to false...
And is there anything like screenupdating to false that can also speed up access codes? Just curious.
Thanks in advance.
'm trying to prevent form from closing exept through button click....how can i do this in access? the below code wont work in access form
I only till now know how to set warning to false...
And is there anything like screenupdating to false that can also speed up access codes? Just curious.
Thanks in advance.
Code:
[/FONT]
[FONT=Courier New]'Prevent user from closing with the Close box in the title bar.
If CloseMode <> 1 Then Cancel = 1
me.Caption = "The Close box won't work! Click me!"