[AccessD] Disable undo function from VBA.

Rocky Smolin - Beach Access Software bchacc at san.rr.com
Thu Dec 4 14:38:26 CST 2003


What happens if you set dirty to false?  Then wouldn't the undo fail ('undo
not available at this time' or some such error which you could trap)?

Rocky

----- Original Message ----- 
From: "Erwin Craps - IT Helps" <Erwin.Craps at ithelps.be>
To: "Access Developers discussion and problem solving"
<accessd at databaseadvisors.com>
Sent: Thursday, December 04, 2003 4:58 AM
Subject: RE: [AccessD] Disable undo function from VBA.


> I'm busy testing some stuff, like using the me.recordset and edit/update
> the fields instead of the controls on a form.
>
> I also looked at the undo event of the form, but that doesn't work
> neither...
>
> What I really would like to have is some kind of "Clear the undo cache"
> function.
>
> I'll let you know what.
> Closing form and opening again is not an option for me.
>
> Erwin
>
>
> -----Oorspronkelijk bericht-----
> Van: accessd-bounces at databaseadvisors.com
> [mailto:accessd-bounces at databaseadvisors.com] Namens Ervin Brindza
> Verzonden: donderdag 4 december 2003 13:35
> Aan: Access Developers discussion and problem solving
> Onderwerp: Re: [AccessD] Disable undo function from VBA.
>
>
>
> ----- Original Message -----
> From: "StaRKeY" <starkey at wanadoo.nl>
> To: "Access Developers discussion and problem solving"
> <accessd at databaseadvisors.com>
> Sent: 04 December, 2003 12:42 PM
> Subject: RE: [AccessD] Disable undo function from VBA.
>
>
> > Correct me if I'm wrong but wouldn't this imply that you close and
> > open
> the
> > form every time a new value in a record is changed?:-)
> >
> Erwin wrote:
> "When printing I programaticaly give the invoice a number and save the
> record." So, I think to close the form, only in the OnClick event of a
> command button. And that have to be rarely... And after the printing I
> suppose that the invoice is finished so the code can be even simpler:
> DoCmd.RunCommand acCmdSave
> DoCmd.Close
>
> but Erwin will decide :)
> Ervin
>
>
>
> _______________________________________________
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
> _______________________________________________
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
>



More information about the AccessD mailing list