PC Review


Reply
Thread Tools Rate Thread

Access 2007 Issue

 
 
Mary Fetsch
Guest
Posts: n/a
 
      13th Jul 2009
I have an Access 2003 adp that I'm converting to Access 2007. I'm adjusting
the record source of a form using Visual Basic. In version 2003, this didn't
change the record source in the actual form. In version 2007, there are
conditons where the record source in the actual form is being changed - when
I close the form, I'm asked if I want to save the form changes. This is a
problem because I never want the user to save form changes. I don't want the
form's actual record source changed. Is there an option I can set so that
form changes aren't allowed? Or is there something else I can do? Thanks!
 
Reply With Quote
 
 
 
 
Jeanette Cunningham
Guest
Posts: n/a
 
      14th Jul 2009
Hi Mary,
in the code that closes the form, you can use

DoCmd.Close acForm, Me.Name, acSaveNo

Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia


"Mary Fetsch" <(E-Mail Removed)> wrote in message
news:F6CC1B16-E8F9-4EBC-AFB9-(E-Mail Removed)...
>I have an Access 2003 adp that I'm converting to Access 2007. I'm
>adjusting
> the record source of a form using Visual Basic. In version 2003, this
> didn't
> change the record source in the actual form. In version 2007, there are
> conditons where the record source in the actual form is being changed -
> when
> I close the form, I'm asked if I want to save the form changes. This is a
> problem because I never want the user to save form changes. I don't want
> the
> form's actual record source changed. Is there an option I can set so that
> form changes aren't allowed? Or is there something else I can do?
> Thanks!



 
Reply With Quote
 
Mary Fetsch
Guest
Posts: n/a
 
      14th Jul 2009
Thanks for your quick response, Jeanette. I don't close the form using VB.
The user can enter as many records as she wants before closing the form. So
the user controls when the form should be closed and then clicks the form's X
or clicks File Close. I seems to me that the only way I can control the
closing is to have a Close button on the form. Or do you have a better idea?

"Jeanette Cunningham" wrote:

> Hi Mary,
> in the code that closes the form, you can use
>
> DoCmd.Close acForm, Me.Name, acSaveNo
>
> Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia
>
>
> "Mary Fetsch" <(E-Mail Removed)> wrote in message
> news:F6CC1B16-E8F9-4EBC-AFB9-(E-Mail Removed)...
> >I have an Access 2003 adp that I'm converting to Access 2007. I'm
> >adjusting
> > the record source of a form using Visual Basic. In version 2003, this
> > didn't
> > change the record source in the actual form. In version 2007, there are
> > conditons where the record source in the actual form is being changed -
> > when
> > I close the form, I'm asked if I want to save the form changes. This is a
> > problem because I never want the user to save form changes. I don't want
> > the
> > form's actual record source changed. Is there an option I can set so that
> > form changes aren't allowed? Or is there something else I can do?
> > Thanks!

>
>
>

 
Reply With Quote
 
Jeanette Cunningham
Guest
Posts: n/a
 
      14th Jul 2009
Try it with a close button and disable the form's X.


Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia


"Mary Fetsch" <(E-Mail Removed)> wrote in message
news:BF872F57-5ADA-4128-8E0F-(E-Mail Removed)...
> Thanks for your quick response, Jeanette. I don't close the form using
> VB.
> The user can enter as many records as she wants before closing the form.
> So
> the user controls when the form should be closed and then clicks the
> form's X
> or clicks File Close. I seems to me that the only way I can control the
> closing is to have a Close button on the form. Or do you have a better
> idea?
>
> "Jeanette Cunningham" wrote:
>
>> Hi Mary,
>> in the code that closes the form, you can use
>>
>> DoCmd.Close acForm, Me.Name, acSaveNo
>>
>> Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia
>>
>>
>> "Mary Fetsch" <(E-Mail Removed)> wrote in message
>> news:F6CC1B16-E8F9-4EBC-AFB9-(E-Mail Removed)...
>> >I have an Access 2003 adp that I'm converting to Access 2007. I'm
>> >adjusting
>> > the record source of a form using Visual Basic. In version 2003, this
>> > didn't
>> > change the record source in the actual form. In version 2007, there
>> > are
>> > conditons where the record source in the actual form is being changed -
>> > when
>> > I close the form, I'm asked if I want to save the form changes. This
>> > is a
>> > problem because I never want the user to save form changes. I don't
>> > want
>> > the
>> > form's actual record source changed. Is there an option I can set so
>> > that
>> > form changes aren't allowed? Or is there something else I can do?
>> > Thanks!

>>
>>
>>



 
Reply With Quote
 
Mary Fetsch
Guest
Posts: n/a
 
      15th Jul 2009
Thanks for your help with this, Jeanette.

"Jeanette Cunningham" wrote:

> Try it with a close button and disable the form's X.
>
>
> Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia
>
>
> "Mary Fetsch" <(E-Mail Removed)> wrote in message
> news:BF872F57-5ADA-4128-8E0F-(E-Mail Removed)...
> > Thanks for your quick response, Jeanette. I don't close the form using
> > VB.
> > The user can enter as many records as she wants before closing the form.
> > So
> > the user controls when the form should be closed and then clicks the
> > form's X
> > or clicks File Close. I seems to me that the only way I can control the
> > closing is to have a Close button on the form. Or do you have a better
> > idea?
> >
> > "Jeanette Cunningham" wrote:
> >
> >> Hi Mary,
> >> in the code that closes the form, you can use
> >>
> >> DoCmd.Close acForm, Me.Name, acSaveNo
> >>
> >> Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia
> >>
> >>
> >> "Mary Fetsch" <(E-Mail Removed)> wrote in message
> >> news:F6CC1B16-E8F9-4EBC-AFB9-(E-Mail Removed)...
> >> >I have an Access 2003 adp that I'm converting to Access 2007. I'm
> >> >adjusting
> >> > the record source of a form using Visual Basic. In version 2003, this
> >> > didn't
> >> > change the record source in the actual form. In version 2007, there
> >> > are
> >> > conditons where the record source in the actual form is being changed -
> >> > when
> >> > I close the form, I'm asked if I want to save the form changes. This
> >> > is a
> >> > problem because I never want the user to save form changes. I don't
> >> > want
> >> > the
> >> > form's actual record source changed. Is there an option I can set so
> >> > that
> >> > form changes aren't allowed? Or is there something else I can do?
> >> > Thanks!
> >>
> >>
> >>

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why Access 2007 donot have the "Data Access Page" Function ? How I can do with 2007 for this issue ? Martin Microsoft Access 4 3rd May 2010 08:46 PM
Ms Access 2007 and Ms Sharepoint 2007 (Issue with Attachments) scott Microsoft Access VBA Modules 2 8th Apr 2010 09:23 PM
Access 2003 DB to Access 2007 DB Issue Whitt Microsoft Access 2 19th Dec 2009 10:26 PM
Access 2007 Issue Keypad Microsoft Access Form Coding 2 29th Jul 2009 04:53 PM
Practical Issue with Access 2000 to Access 2007 Irshad Alam Microsoft Access 4 26th Aug 2008 07:38 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:52 PM.