|
-
Sep 6th, 2000, 05:43 AM
#1
Thread Starter
New Member
Hi all..
Well hope someone can help me out here.
I have created a database application that uses SQL.
Next thing that has been bugging me for a while now is
how to add the system date and time in to a textbox.
I've managed to succeed in this, but the next thing happend.
IT DELETED THE DATA I HAD IN THE TEXTBOX! 
What I want to establish is, that if I retreive the record
and want to edit the text in the "textbox", to add the systems date and time at the last line available.
Is there someone, anyone out there who can help me?
Greetz.
-
Sep 6th, 2000, 06:46 AM
#2
Hyperactive Member
I think what you are trying to do here is
text1 = text1 & date()
Hope this helps
-
Sep 6th, 2000, 07:54 AM
#3
Thread Starter
New Member
Hi there,
Thx for your post. 
but I now have this stupide thing. *LOL*
I did this like above, but if i add the next to the code
chr$(10) + chr$(13) it returns two lines next to eachother instead of placing a return.
do you have any idea how this comes?
Greetz
-
Sep 6th, 2000, 08:00 AM
#4
PowerPoster
Use
text1 = text1 & vbCRLF
That should do the trick...
Gentile or Jew,
O you who turn the wheel and look to windward,
Consider Phlebas, who was once handsome and tall as you...
-
Sep 6th, 2000, 09:52 AM
#5
Thread Starter
New Member
He both of you..
thanks for the help here.
Hope you can help me out in the near future if i ever get to have an new problem.. 
tnx again..
greetz
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|