New Rec with previous Rec data 
Author Message
 New Rec with previous Rec data

Single form - Access2000
Is the an easier way to assign all the field values from my previous
record - into my new rec.
I am setting a variable for each field and then passing them across.
Seems like there is an easier way?

Any help appreciated!

Dale



Sat, 20 Sep 2003 01:56:49 GMT  
 New Rec with previous Rec data
One way is to set the DefaultValue property of each data-bound control in
the control's (or the form's) AfterUpdate event.

--

Dirk Goldgar
(remove NOSPAM from reply address)


Quote:
> Single form - Access2000
> Is the an easier way to assign all the field values from my previous
> record - into my new rec.
> I am setting a variable for each field and then passing them across.
> Seems like there is an easier way?

> Any help appreciated!

> Dale



Sat, 20 Sep 2003 02:52:34 GMT  
 New Rec with previous Rec data
Check out the 'carry forward' solution by Saicom Systems. It uses the Tag
property of a control:
http://www.saicomsystems.com/tiparchives.asp
Past Issues 1999 Vol 11 Formulate your Forms - Tips for Forms (I)

Or download the sample db (A97) directly:
http://www.saicomsystems.com/database/form1.zip

Grtz,
Ivo

Quote:
>Single form - Access2000
>Is the an easier way to assign all the field values from my previous
>record - into my new rec.
>I am setting a variable for each field and then passing them across.
>Seems like there is an easier way?

>Any help appreciated!

>Dale



Sat, 20 Sep 2003 03:27:54 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. New Rec with previous Rec data

2. New Rec with Data Based on Previous Rec's Data

3. Perform a go to new rec w/ retaining some info from prev rec

4. Move to newrecord adds rec to db, but cant move to new rec

5. how to repeat data from previous rec

6. How to repeat data from previous rec

7. changes to all records in one rec set based on position in another rec set

8. Subform retains data when going to new rec via coded rtn

9. Insert new rec, then pass new identity val back to Access97

10. New record added to listbox, but won't load rec in form when selec


 
Powered by phpBB® Forum Software © phpBB Group