Date Updated Last

G

Guest

Hi All,

I have a subform "Notes" within a main form "ClaimForm" and would like to
create a filed "lastupdate" on "ClaimForm" and later a report that
displays/populates "lastupdate" with the most recent date from the subform
"Notes".

Thanks

GregInOz
 
S

Steve Schapel

Greg,

Do you mean that the Notes subform includes a date field? So each Note
entry has a DateEntered or DateCreated or DateUpdated or whatever? If
so, put an unbound textbox (hidden, probably) in the Header or Footer
section of the subform, with its Control Source set to the equivalent of...
=Max([YourNotesDateField])
Let's say you name this textbox LatestNote. Then, on the main form, put
another unbound textbox, with its Control Source like this...
=[Notes]![LatestNote]
or, as some would have it...
=[Notes].[Form]![LatestNote]

If you don't have a date field in the Notes, then I have missed the
point - please let us have more details.
 
G

Guest

Fantastic!

Thanks Steve.


Steve Schapel said:
Greg,

Do you mean that the Notes subform includes a date field? So each Note
entry has a DateEntered or DateCreated or DateUpdated or whatever? If
so, put an unbound textbox (hidden, probably) in the Header or Footer
section of the subform, with its Control Source set to the equivalent of...
=Max([YourNotesDateField])
Let's say you name this textbox LatestNote. Then, on the main form, put
another unbound textbox, with its Control Source like this...
=[Notes]![LatestNote]
or, as some would have it...
=[Notes].[Form]![LatestNote]

If you don't have a date field in the Notes, then I have missed the
point - please let us have more details.

--
Steve Schapel, Microsoft Access MVP
Hi All,

I have a subform "Notes" within a main form "ClaimForm" and would like to
create a filed "lastupdate" on "ClaimForm" and later a report that
displays/populates "lastupdate" with the most recent date from the subform
"Notes".

Thanks

GregInOz
 

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