Hi there!
I've tried the code already. It works... thanks!
I just want to ask you if you don't mind what's the difference when you use val or cint/clng/cdbl?
thanks again!
hello!
I've tried your code already. It works but when you press the tab key until it reaches back to the txtqty(textbox) the amount will change. Did you get me? I don't know why, I hope you could check it.
Thanks!
Thanks a lot! I also notice (what ADoozer noticed) last night that 1,000 will be treated as 1.
Again, Thanks to you guys! I'll try the code tonight. :)
By the way, why do you use the validate event? why not the change event? And why do we need to assign 1 to qty in the form_load event? :)
thanks!
But my form is not bound. In my form I have ok and cancel button. In the ok button codes for saving what the user inputs in every textbox.
And I believe that you can't use the dataformat property when your control is not bound.
Hope for your response soon.... Thanks again!
Good day to you!
I have this problem with calculation. I have Quantity(txtQty) and Unit Price(txtUprice) field and output the product in the Amount(txtAmount) field. If works just fine if I remove the code to format the contents of the textbox. But my code below doesn't work, it gives a wrong...
thanks for the response....YOur (DrJavaJoe) code is just what I need..:)
Maybe I have other follow up questions similar to what i ask, I just post it in this thread. Hope you guys can check it.
thanks!
Hi! good day to you!
I would like to get a text1.text from a form to display it on the report when I click the show report button. Do you know how to do it? by the way, i'm using data report.
Hope for a response.
thanks!
Good day to you!
I have a question, how can you disallow the user form pressing spacebar in a textbox? and another thing how can you limit a textbox input only for letters?
hoping for a reply soon. thanks!
Thanks!
I haven't downloaded sp5 yet. I would just like to ask if this would work if your os is windows xp? And I'm just confused in microsoft website. I don't know for sure if this is the sp5 your referring to. How would I locate the download.
One more thing where will I get mdac2.5? And...
Hi there!
I'using vb 6 and I get this error in my data report. The "report width is larger than the page width". and I solved this problem by making the report width smaller. But by doing so, I can't make my report in a landscape orientation.
I would like to know how to do it.
And...
How would you format the text(numeric) in a textbox?
Private Sub txtUprice_Change()
txtUprice.Text = Format(txtUprice.Text, "Php ###,###")
End sub
what i want is when the user starts typing the comma and would appear while the user inputs the amount.
thanks!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.