Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Time/Date Stamp

Posted on 2000-04-25
3
Medium Priority
?
148 Views
Last Modified: 2010-05-02
I'm writing a program where a user types notes into 1 textbox and when clicking the /log button, it displays it in another textbox.  how do I get the note to be displayed with a time/date stamp in front of it? and then how do I get the next note logged in to start at the next line?
0
Comment
Question by:derigo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 6

Accepted Solution

by:
setiawan earned 20 total points
ID: 2749881
Hi derigo,

You can use now
  text2.text = now & " " & text1.text

first, you have to set your 2nd textboxt, multiline proberty to true
then add VbCrLf, every time you add new values into the textbox


  danny
0
 
LVL 6

Expert Comment

by:setiawan
ID: 2749882
Private Sub Command1_Click()
  Text2.Text = Text2.Text & Now & " " & Text1.Text & vbCrLf
End Sub
0
 

Author Comment

by:derigo
ID: 2750078
thanks!!!  never knew that existed.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question