Jumat, 01 Juni 2012

RE: [MS_AccessPros] Re: Preventing moving to next record with a dirty form

 

What Glenn was telling you is Access saves everything automatically so a
check is not needed.

I had the opposite issue that things would get changed by mistake so I
check in the before update event and ask the operator to verify that
they want to save the changes using a message box. Before_Update does
not run unless there have been changes made to the current record.

Bob Peterson

-----Original Message-----
From: MS_Access_Professionals@yahoogroups.com
[mailto:MS_Access_Professionals@yahoogroups.com] On Behalf Of Lee
Sent: Friday, June 01, 2012 1:56 PM
To: MS_Access_Professionals@yahoogroups.com
Subject: [MS_AccessPros] Re: Preventing moving to next record with a
dirty form

Right, I'm trying to prevent them from navigating away without saving.
I just don't know where to put the dirty check to accomplish that.

--- In MS_Access_Professionals@yahoogroups.com, "Glenn Lloyd"
<argeedblu@...> wrote:
>
> Lee,
>
>
>
> Unless you have something in place that would prevent saving the data,

> it is saved by default as soon as the user navigates away from the
record.
>
>
>
> Glenn
>
>
>
>
>
>
>
> From: MS_Access_Professionals@yahoogroups.com
> [mailto:MS_Access_Professionals@yahoogroups.com] On Behalf Of Lee
> Sent: June-01-12 1:27 PM
> To: MS_Access_Professionals@yahoogroups.com
> Subject: [MS_AccessPros] Preventing moving to next record with a dirty

> form
>
>
>
>
>
> Hi,
> I have a bound form that shows 1 record at a time. I use the default
> access
> (03) navigation buttons at the bottom of the form allow the user to
> switch between records. I'm trying to make it so if a user makes
> changes to 1 record and then tries to move to another record without
> saving, they will be prompted to save first, but I can't figure out
which event to put "dirty"
> check in.
>
> Thanks
> -Lee
>
>
>
>
>
> [Non-text portions of this message have been removed]
>

------------------------------------

Yahoo! Groups Links

__._,_.___
Recent Activity:
.

__,_._,___

Tidak ada komentar:

Posting Komentar