subform question

M

Meryl

I have a donations subform within a form which shows the
donations history and allows you to add a new donation.
When the donations subform is opened, I would like it to
display the last records (most recent donations) and not
the first.

How do you do this?

Many thanks.
 
S

Scott McDaniel

Use a query to drive your subform and set the DonationDate field (I'm
assuming you have one) SortOrder to DESC. Set your subform's RecordSource to
be something like this;

SELECT Field1, Field2, YourDonationDateField, etc etc FROM YourTable ORDER
BY YourDonationDateField DESC

--
Scott McDaniel
CS Computer Software
Visual Basic - Access - Sql Server - ASP

"Smash forehead on keyboard to continue ... "
 

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