Results 1 to 6 of 6
  1. #1
    dada is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Aug 2010
    Posts
    40

    Show current Time

    is it possible if i click a button, the current time will appear in a textbox? if it's possible, please teach me how.. thanks!

  2. #2
    maximus's Avatar
    maximus is offline Expert
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Aug 2009
    Location
    India
    Posts
    931
    suppose I have a Text Box Text6 on my form. In the onClick event of the command Button I will put this Code:

    Me.Text6=Time

    This will put the current time in the text box

  3. #3
    dada is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Aug 2010
    Posts
    40
    thanks! awesomeness!

  4. #4
    maximus's Avatar
    maximus is offline Expert
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Aug 2009
    Location
    India
    Posts
    931
    please mark this thread solved.

  5. #5
    maximus's Avatar
    maximus is offline Expert
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Aug 2009
    Location
    India
    Posts
    931
    if you have problems doing it please follow the link and learn. I am glad ur problem is solved. happy to help.

    https://www.accessforums.net/forum-s...lved-1828.html

  6. #6
    rwcozens is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2012
    Location
    South Africa
    Posts
    7
    Quote Originally Posted by maximus View Post
    suppose I have a Text Box Text6 on my form. In the onClick event of the command Button I will put this Code:

    Me.Text6=Time

    This will put the current time in the text box
    Thanks Maximus. This helped me a lot too pal

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Selecting Most Current 'Revision'
    By Nola_Gal in forum Queries
    Replies: 5
    Last Post: 05-29-2010, 12:48 AM
  2. VB coding to show current date n time in access form
    By cwwaicw311 in forum Programming
    Replies: 6
    Last Post: 02-10-2010, 09:53 PM
  3. Current Date Error
    By McFly in forum Database Design
    Replies: 4
    Last Post: 02-04-2010, 09:08 AM
  4. Replies: 3
    Last Post: 02-13-2008, 09:55 AM
  5. Mailmerge Current Record...
    By oakleyp2 in forum Programming
    Replies: 0
    Last Post: 02-22-2006, 08:08 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums