Re: Closing a form - problem

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Paul, I agree with your frustration.

This has to be one of the worst bugs in Access, where is SILENTLY loses your
entry if you close the form when the record cannot be saved (e.g. required
field missing.) For a program that is supposed to save by default, just
losing people's data is totally unacceptable IHMO, but I cannot get MS to
fix this data-loss bug.

Once you know about the bug, it is easy enough to work around it: you must
explicitly save the record whenever you use the Close action/method on a
bound form. But this is crazy that 13 years after Access was first released,
it still has the same bug, unfixed.

More info:
http://allenbrowne.com/bug-01.html

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Paul Doree" <paul_doree@xxxxxxxxxxx> wrote in message
news:eNWMtppQFHA.2252@xxxxxxxxxxxxxxxxxxxxxxx
> Can anyone tell me why, if I close a form using the X box at the top right
> hand corner, the database table validation kicks in with warnings because
> I haven't filled in some required fields However, if I close the same
> form under the same circumstances via a close button (using docmd.close),
> no warnings appear and the record is not saved - not good practice for end
> users!
>
> Yours (frustrated)
>
> Paul


.



Relevant Pages

  • Re: [patch 125/311] Cpuset hardwall flag: switch cpusets to use the bulk cgroup_add_files() API
    ... kernel BUG at kernel/cpuset.c:1448! ... Paul M's conversion to the new style *_u64 cpuset file handlers were ... Paul M proposed the following untested patch: ...
    (Linux-Kernel)
  • Re: [Full-Disclosure] No Subject (re: openssh exploit code?)
    ... Yeah, Paul, you're a real smart guy I see! ... Figure out how to exploit the bug ... booger at night - I'm the security snot." ... On Tue, 21 Oct 2003, Paul Schmehl wrote: ...
    (Full-Disclosure)
  • Re: Repllog.exe missing
    ... > Paul T. ... >> after Sysgen and Build it just goes straight to makeimg. ... >> whether there was a cure to this bug that has crept in. ... >>> build to get the ActiveSync component repllog.exe in your image. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Please - Please - Please, Does Anyone Know?
    ... Thanks "Paul". ... However, this pointed to the bug in IE 5.5, and I am using IE 6.0 ... Maybe some update will fix it someday. ... >> Error popping up now and then, and having to restart to get rid of it. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: [PATCH -mm] sys_semctl gcc 4.1 warning fix
    ... I disagree here that it covers up any bug. ... In fact, that wrapper is more ... So if you like to look for real warnings, you can compile it with the ... and have to fight to find the real bugs. ...
    (Linux-Kernel)