Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Variable Types
Richard Lanoue 
    
5 years ago
I'm not sure if ypu covered this... I know Dim String is for text and characters, and Dim Bolean is for logic True False statements.... But where I get confused is Dim Long? Dim Integer, when would you use one and not the other? Also are there others aside from those?
Richard Rost  @Reply  
          
5 years ago
Yeah, there are a bunch of them. It all depends on what kind of data you want to work with. Microsoft summarizes them here. Essentially the ones you'll use most often are:

Boolean: True/False
Currency
Date
Double: for floating point numbers
Long: for counting numbers
String

I almost never use:
Byte: only if you're really stuck for memory
Decimal: just use double
Integer: always use long. Int maxes out at 32,767
LongLong: I still use 32-bit Access
Single: just a smaller double

The others like Object, LongPtr, etc. have specific uses which I cover in class when needed.

This would probably make a nice TechHelp video. I know I talk about these in various classes.
Richard Lanoue OP  @Reply  
    
5 years ago
Thank you.  I like offering suggestions that would help me and other students.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Forum.
 

Next Unseen

 
New Feature: Comment Live View
 
 

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

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 5/9/2026 11:11:58 AM. PLT: 0s