PC Review


Reply
Thread Tools Rate Thread

Date in field from previous record

 
 
=?Utf-8?B?S2Vybm93IEdpcmw=?=
Guest
Posts: n/a
 
      2nd Mar 2006
Hi all - I do appologise for this post as I know the answer is out there
somewhere. I printed it out a few weeks ago - just can't find the printout. I
have spent the last 10 minutes searching but can't find it so here goes.

I need the code (something like me.current = me.????) to put the previous
records' data into a field.

Thanks in advance and sorry.

Dika (Kernow Girl)
 
Reply With Quote
 
 
 
 
Rick B
Guest
Posts: n/a
 
      2nd Mar 2006
Use the AfterUpdate event of the control to set its Default Value.

Details:

http://www.mvps.org/access/forms/frm0012.htm



An alternative approach is to use the BeforeInsert event of the form to copy
the values from the last record:

http://allenbrowne.com/ser-24.html


--
Rick B



"Kernow Girl" <(E-Mail Removed)> wrote in message
news:7DBD3547-F14C-459F-B03E-(E-Mail Removed)...
> Hi all - I do appologise for this post as I know the answer is out there
> somewhere. I printed it out a few weeks ago - just can't find the
> printout. I
> have spent the last 10 minutes searching but can't find it so here goes.
>
> I need the code (something like me.current = me.????) to put the previous
> records' data into a field.
>
> Thanks in advance and sorry.
>
> Dika (Kernow Girl)



 
Reply With Quote
 
=?Utf-8?B?S2Vybm93IEdpcmw=?=
Guest
Posts: n/a
 
      2nd Mar 2006
Thanks Rick, I'll try not to lose it again. Dika

"Rick B" wrote:

> Use the AfterUpdate event of the control to set its Default Value.
>
> Details:
>
> http://www.mvps.org/access/forms/frm0012.htm
>
>
>
> An alternative approach is to use the BeforeInsert event of the form to copy
> the values from the last record:
>
> http://allenbrowne.com/ser-24.html
>
>
> --
> Rick B
>
>
>
> "Kernow Girl" <(E-Mail Removed)> wrote in message
> news:7DBD3547-F14C-459F-B03E-(E-Mail Removed)...
> > Hi all - I do appologise for this post as I know the answer is out there
> > somewhere. I printed it out a few weeks ago - just can't find the
> > printout. I
> > have spent the last 10 minutes searching but can't find it so here goes.
> >
> > I need the code (something like me.current = me.????) to put the previous
> > records' data into a field.
> >
> > Thanks in advance and sorry.
> >
> > Dika (Kernow Girl)

>
>
>

 
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
Error going from first field to last field in previous record Jason Microsoft Access Getting Started 2 25th Aug 2009 09:38 AM
Verifying a Date from previous record before allowing new record a Devon Microsoft Access Form Coding 2 14th Jul 2009 02:56 PM
Update new record with previous record field wolfiewoman Microsoft Access Forms 5 23rd Feb 2009 04:27 PM
calc # days bet each new and previous record in one date field =?Utf-8?B?SmFuZSBXYWxrZXI=?= Microsoft Access Reports 0 12th Sep 2006 10:33 PM
Enter date from previous record to new record Randy Microsoft Access Forms 4 18th May 2005 12:34 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:18 AM.