|
-
Nov 16th, 1999, 12:00 PM
#1
Thread Starter
New Member
----code----
text3.text = chr(35) 'chr = #
----code----
Hello:
This is a very easy line of code, but the text box keeps coming up with two #'s. I ony want one, how do I do this?
thank you,
-
Nov 16th, 1999, 07:13 PM
#2
Are you sure you didn't have anything in the Textbox before? This line of code should not give you more then one character.
Regards,
------------------
Serge
Software Developer
[email protected]
[email protected]
ICQ#: 51055819
[This message has been edited by Serge (edited 11-17-1999).]
-
Nov 16th, 1999, 08:09 PM
#3
Hyperactive Member
Even so.... If there was a "#" in there before this code would have overwritten it and there would still be one....
J0e B0b, maybe if you give us some bigger chunk of code.. I think the problem lies elsewhere....
also this would be a good time for some debugging...
-
Nov 16th, 1999, 08:34 PM
#4
Guru
I believe the problem is in the Text3_Change() event... What do you have in there?
------------------
Yonatan
Teenage Programmer
E-Mail: [email protected]
ICQ: 19552879
AIM: RYoni69
-
Nov 17th, 1999, 01:08 AM
#5
or maybe you are using a loop of some kind?
-
Nov 17th, 1999, 05:21 AM
#6
Thread Starter
New Member
Hello again,
here is the line of code I used
----code----
Formsn.Text3.text = "whatever:" + Chr(34) + Chr(35) + Text1.text + Chr(34) + "<>" + Formsn.Text3.text
----code----
what this is doing is, adding ( whatever:"#text1.text"<> )
-
Nov 17th, 1999, 05:25 AM
#7
Thread Starter
New Member
Haha, nevermind, you were right, I spent one hole hour on this problam : /
It was in the modules.
thanks for your help
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
|