Repeat previous data

R

Ricoy-Chicago

To create a weekly report I use:
"items" - this value changes every week
"Cost of item" - this value changes 2-3 times a year
"week No" - needed to create the weekly report based on "items" and "Cost
of item"

The user needs to enter the "week No" and "Cost of item" ("items" is counted
by Access). How can i set the front-end data entry screen so the "cost per
item" from the previous week is copied automatically to the new record for
the new "week No"?
 
S

Steve Schapel

Ricoy,

Are the "Week No" sequential numbers? If so, make a query based on the
table that this data goes into, and sort Descending on the Week No
field. Then, set the Default Value property of the Cost Of Item control
on your form to the equivalent of...
DLookup("[Cost of Item]","NameOfQuery")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top