At time index 9:12, you demonstrated how to "inprint" the current user name onto the main menu. I added something cool that i would like to share with you and my fellow students. That is, the Main Menu should greet the current user as "Good morning Richard!" depending on what (PC system) time they they log in. See below what i used for my database: If Time >= #12:00:00 AM# And Time < #12:00:00 PM# Then CurrentUserLabel.Caption = "Good Morning " & CurrentUserName & "!"
End If
If Time >= #12:00:00 PM# And Time < #5:00:00 PM# Then CurrentUserLabel.Caption = "Good Afternoon " & CurrentUserName & "!"
End If
If Time >= #5:00:00 PM# And Time <= #11:59:00 PM# Then CurrentUserLabel.Caption = "Good Evening " & CurrentUserName & "!" End If
Doesn't it look cool? Probably the Select Case statement or Elseif would look cooler.
Thank you for the good work and keep it up!
MICAH
Sorry, only students may add comments.
Click here for more
information on how you can set up an account.
If you are a Visitor, go ahead and post your reply as a
new comment, and we'll move it here for you
once it's approved. Be sure to use the same name and email address.
This thread is now CLOSED. If you wish to comment, start a NEW discussion in
Microsoft Access 322.