Re: CreateEventProc error



"dchman" <dchman@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:466FE11D-7C12-4DDB-B1D2-321397478DF1@xxxxxxxxxxxxx
Since you'all could do it, i decided to try it in a new database
outside of my application, and I was also successful. After much
consternation, I noticed that the controls in my application had
names which contain the pipe character |, while my test case didn't.
I changed how the controls were named and presto, success, with one
quirk.

There may be a way to work around that, but the pipe characters were
definitely not a good idea.

At the end of the sub in which I add the controls and event
procedures, I close the form on which the controls exist (it is not
the active form) with

DoCmd.Close acForm, frm.Name, acSaveYes

I thought is would save the form without a prompt, but when this line
runs, I am still prompted to save. Any ideas?

I tried this, and found that I was not prompted to save, *provided* that
this form was the only object that needed saving.

--
Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)


.



Relevant Pages

  • Re: PestPatrol
    ... Most of the malware gets on a system these days via your active X settings ... Download signed active x controls>set to prompt ... Download unsigned active x controls>set to disable ... Initialize and script active x controls not marked as safe>set to disable ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Opening additional (non-default) form instances
    ... Two of the three controls ... When I first posted this question, the prompt accepted only ... When the subform opens after the Parm prompt, ...
    (microsoft.public.access.formscoding)
  • Re: Checkbox control change bypassing ThisDocument.Saved
    ... The ActiveX controls' macros run asynchronously. ... If you comment out the code in a checkbox procedure does the behavior go ... prompt and exit) ...
    (microsoft.public.word.vba.general)
  • Re: Trust (was CSS Button Designer)
    ... > prompt that says "Would you like software such as Active-X ... It really boils down to common sense and the idea that you cannot ... times out of 100 you should say NO to those controls because most ... joke page and you get a request to install the Groovy Joke Toolbar. ...
    (alt.html)
  • Re: Active X and I.E.
    ... ActiveX downloads can be set to prompt or even disabled in Internet Explorer. ... Execution or scripting of AX controls can also be prompted or disabled in IE. ... Also I know they can also get reset to an "on" setting accidentally -- which has happened to me. ...
    (microsoft.public.windowsxp.basics)