|
-
Mar 20th, 2000, 11:22 AM
#1
Thread Starter
Junior Member
Hi all,
I have combo with items "Sales Tax 25".When i select this item only 25 should be displayed in the text of combo.
Thanx
Murali
-
Mar 20th, 2000, 05:02 PM
#2
Hyperactive Member
in the combo1 click Method
sub combo1_click()
combo1.text = str(val(mid(combo1.text,len(trim(combo1.text))-2)))
endsub
This will give you the last two characters (numbers) you can change it to just the last 2 chars like this
sub combo1_click()
combo1.text = right(trim(combo1.text),2)
endsub
if you want
-
Mar 20th, 2000, 06:44 PM
#3
Thread Starter
Junior Member
Hi john,
What u told has been tried...
But what happens is the text gets cleared after the event.
any other way??
Thanx...
Regards
Murali
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
|