If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Time in Text Field
I need to have a bound text field in my form which, when that field is
clicked on the current time, in hours, minutes and seconds will appear. Any suggestions? -- JOE |
#2
|
|||
|
|||
Time in Text Field
Use the click event of the field and add VBA code that sets the value to Time.
Private Sub txtShowDetails_Click() Me.txtShowDetails = Time() End Sub John Spencer Access MVP 2002-2005, 2007-2009 The Hilltop Institute University of Maryland Baltimore County JOE POLLOCK wrote: I need to have a bound text field in my form which, when that field is clicked on the current time, in hours, minutes and seconds will appear. Any suggestions? |
Thread Tools | |
Display Modes | |
|
|