Help with field in an Access form?

B

Brenda

I have created a teller database in MS Access using drawer #1 and drawer #2.
I would like to click a button within the balancesheet (access form) and have
it bring up the ending cash from the last time that specific drawer was used.
How can I do this?
 
S

Sharkbyte

Brenda:

Without knowing more about your db structure, it is a little difficult.
However, it could be done with something like:

DLookup("EndingBalance", "tblCashDrawers", "DrawerNumber = <DrawerNumber>
and Date = DMax("UsedDate", "tblCashDrawers", "DrawerNumber = <DrawerNumber>")

Good luck.

Sharkbyte
 

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