Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

microsoft training access course - qry select most

Forum home » Delegate support and help forum » Microsoft Access Training and help » microsoft training access course - Qry to select most recent order only

microsoft training access course - Qry to select most recent order only

ResolvedVersion Standard

Stephen has attended:
Access Intermediate course

Qry to select most recent order only

Can you please advise me as to which function I would use to select the most recent order date for a customer with a history of orders?

RE: Qry to select most recent order only

Try

=Last(expr)


Where "expr" is the name of the date field

Regards

Richard

Access tip:

Run with the total

Often when creating reports with lists of transactions it can be useful to have a column which totals the transactions as the report progresses.

Using the Sum function gives the total for the whole group, not a running total.



Access provides an easy method of achieving a running total.



Click on the text box containing the data you wish to contain the running total.
Select the Data tab
Click in the Running sum option
Click the down arrow to view three options

View all Access hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.11 secs.