Results 1 to 3 of 3
  1. #1
    Join Date
    May 2003
    Location
    Costa Rica
    Posts
    40

    Unanswered: Put date into a field

    Using visual Basic I need to obtain the current date and the current time and save them into REGDATE and REGTIME fields of the table REGISTER.

    Can someone help me please.....

  2. #2
    Join Date
    Aug 2003
    Posts
    15

    Re: Put date into a field

    Originally posted by Manuel Gimenez
    Using visual Basic I need to obtain the current date and the current time and save them into REGDATE and REGTIME fields of the table REGISTER.

    Can someone help me please.....
    Use =Now()

    This will give you the current date and time stamp!

  3. #3
    Join Date
    May 2003
    Location
    Costa Rica
    Posts
    40
    I know, I have used the following

    Dim MyDate
    Dim MyTime

    MyDate = Date
    MyTime = Time

    Now I need to save MyDate variable into the field REGDATE of the table REGISTER AND MyTime variable into the field REGTIME of the table register. Can you help me.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •