WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

How to force last row to be saved?

 
   Home -> Office other -> Getting Started RSS
Next:  How do I set up a patent office docketting system  
Author Message
Laurel

External


Since: Apr 02, 2004
Posts: 65



(Msg. 1) Posted: Thu Oct 01, 2009 9:32 pm
Post subject: How to force last row to be saved?
Archived from groups: microsoft>public>access>gettingstarted (more info?)

I have a form of multiple rows (grades for different periods in the day).
When the Finish button is clicked, a subroutine deletes all the rows that
were created for a student if no scores were entered. My problem is that
the data in the last row the user worked on is not saved before that
subroutine is called. How can I force the save?

TIA
LAS
Back to top
Login to vote
Ken Snell

External


Since: May 26, 2004
Posts: 47



(Msg. 2) Posted: Thu Oct 01, 2009 10:08 pm
Post subject: Re: How to force last row to be saved? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Make this the first line of code before you begin deleting records:

Me.Dirty = False

--

Ken Snell
http://www.accessmvp.com/KDSnell/


"Laurel" <FakeMail DeleteThis @Hotmail.com> wrote in message
news:OUPNl$vQKHA.4244@TK2MSFTNGP06.phx.gbl...
>I have a form of multiple rows (grades for different periods in the day).
>When the Finish button is clicked, a subroutine deletes all the rows that
>were created for a student if no scores were entered. My problem is that
>the data in the last row the user worked on is not saved before that
>subroutine is called. How can I force the save?
>
> TIA
> LAS
>
Back to top
Login to vote
Laurel

External


Since: Apr 02, 2004
Posts: 65



(Msg. 3) Posted: Fri Oct 02, 2009 11:25 am
Post subject: Re: How to force last row to be saved? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thanks!
Works like a charm!
"Ken Snell" <kthsneisllis9.RemoveThis@ncoomcastt.renaetl> wrote in message
news:%23A5$EVwQKHA.4028@TK2MSFTNGP05.phx.gbl...
> Make this the first line of code before you begin deleting records:
>
> Me.Dirty = False
>
> --
>
> Ken Snell
> http://www.accessmvp.com/KDSnell/
>
>
> "Laurel" <FakeMail.RemoveThis@Hotmail.com> wrote in message
> news:OUPNl$vQKHA.4244@TK2MSFTNGP06.phx.gbl...
>>I have a form of multiple rows (grades for different periods in the day).
>>When the Finish button is clicked, a subroutine deletes all the rows that
>>were created for a student if no scores were entered. My problem is that
>>the data in the last row the user worked on is not saved before that
>>subroutine is called. How can I force the save?
>>
>> TIA
>> LAS
>>
>
>
Back to top
Login to vote
Display posts from previous:   
       Home -> Office other -> Getting Started All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
 Windows Other
 Office
  Office Other
 Security
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET |
  • IT Support