Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

report macro - most Recent Date

Status
Not open for further replies.

multipleintell

Technical User
Dec 7, 2001
72
US
I want to make a macro on the Print Event of a report header that will set the Value of the "last" date in the list to a different forecolor. How can this be done?

Thanks
Melissa
 
you could use Conditional Formatting instead (acc2k and above).

choose your field and choose menu item FORMAT+CONDITIONAL FORMATTING.

choose Field Value Is Equal To

then in the equation, figure out the 'last' date by using
Code:
dmax("DateFieldName","TableName")[code]

{Fill in your field name and table name}

then choose whatever colors or whatever that you want
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top