Free Lessons
Fast Tips
Topic Index
Home   Courses   Seminars   Templates   TechHelp   Fast Tips   Forums   Help   Contact   Join   Order   Logon  
Home > Forums > Access
Access Forum

Back to Access Forum

missing in textbox Upload Images   Link  
Maarten Brusselers 
9 days ago
I am doing the SQL seminar.  In the markup box there is the percentage for the markup.  When I first open the box the default of 20% shows correctly.  However, when I choose one of the products the correct number appears eg. 0.05 or 0.80 but not as a percentage. The table field is formatted as a percentage and the text box has been formatted as a percentage. Why do I not see the percentage?
Maarten Brusselers
9 days ago

Maarten Brusselers
9 days ago

Maarten Brusselers
9 days ago

Maarten Brusselers
9 days ago

Maarten Brusselers
9 days ago

Kevin Robertson
8 days ago
You can format the Text Box in VBA using the Format Function.

Markup = Format(CategoryCombo.Column(2), "Percent")
Maarten Brusselers
8 days ago
Tried that.  didn't work
Maarten Brusselers
8 days ago

Maarten Brusselers
8 days ago

Maarten Brusselers
8 days ago
Also, it should show % without any VBA though right.  I have done all the correct formatting.
Maarten Brusselers
8 days ago
I've also tried On Change, same result.
Kevin Robertson
8 days ago
You have put the code in the wrong place. Should be in the CategoryCombo_AfterUpdate.
Maarten Brusselers
8 days ago
Now it worked, thanks.
Any idea why Access was not showing it before while all the formatting was correct?
Kevin Robertson
8 days ago
Not sure. It didn't get the format for me either. Perhaps a bug has crept in since the Seminar was recorded.
The Format Property worked if I hard coded a value, but not when I got the value from the Combo Box.
Add a ReplyUpload an Image

Back to Access Forum Comments

Start a NEW Conversation
Only students may post on this page. Click here for more information on how you can set up an account. If you are a student, please Log On first. Non-students may only post in the Visitor Forum.
Subscribe to Access Forum
Get notifications when this page is updated

Check out these other pages that may be of interest to you:

11/25/2022Application Title
11/24/2022Full HTML Editor in Access
11/24/2022Change Database Title
11/23/2022Other Names
11/21/2022Check Icon File
11/21/2022Check Icon File
11/18/2022Archive Records
11/17/2022InStr Function
11/16/2022Numbers As Text
11/15/2022Merge Tables

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.

Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
My Account
My Courses
Lost Password
Student Databases
Change Email
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Customer Support
Web Site Tour
Consulting Services
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Video Tutorials
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Terms of Sale
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
Blog RSS Feed    Twitter

YouTube Channel    LinkedIn