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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Displaying a lable by date

Status
Not open for further replies.

techkenny1

Technical User
Jan 23, 2009
182
AU
Hi

Is it possible to have a label display by date.
On a form I need a lable (invisible) to display at the end of each month and display that label for just one day.

Many thanks,

 
You can use the Load Event or the Current Event for the form, depending on which best suits:

Code:
Me.lblWarning.Visible=(Date()=DateSerial(Year(Date), Month(Date)+1, 0))

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top