|
-
Dec 23rd, 2002, 06:03 PM
#1
Thread Starter
Addicted Member
Need help on VBasic Code
Hello there.
I need help. I'm developing a Business program. Here are some of the problems I am working on.
1. How could I make a text box ONLY allowing letters and spaces, but not numbers / special characters without using the MaskedBox control and making it uppercase.
2. If I had a text box, or MaskedBox Control and I entered 30000 ... how could I automatically insert a decimal like 300.00 then when I set the focus back on the text back, put it back to 30000
3. How can I automatically align text in a list box AND textbox/richbox control so I can get text & numbers to be aligned such as:
assuming the ......... isn't there
and the text is aligned to the left and numbers aligned to the right on the same line.
DESCRIPTION OF ITEM... $1.00
SOME OTHER ITEM...... $10.00
4. How can I get records to load in a list box without waiting for the
Do while not Data1.recordset.eof
List1.additem data1.recordset![somefield]
data1.recordset.movenext
loop
If anyone has time and could reply, I would greatly appreciate it! Thanks guys!
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
|