Chazelle Consulting Services  

 

Your Microsoft Access Specialists  

Home
Resources
References
Contact us




 

























































 Greeting the User
 

Here is a line of code that would allow you to greet the user with "Good Morning", or "Good Afternoon", depending on the time of the day. You could put that code on a switchboard, for example.


IIf(InStr(Time(),"PM"),"Good Afternoon","Good Morning")