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 Developer Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Dir function in On Current
Gregory Clancey 
    
3 years ago
My form includes a table of image files. Descriptive detail is shown for each as I navigate through the records, one "imageID" to another; however, no image is displayed here -- just the textual description. Without looking at MS Explorer to see if the listed image is indeed present, this code verifies that, at least, the file is in said folder via radio button, "optButtonIsPresent".

    [note: optButtonIsPresent is bound to boolean TableField, BOfileIsPresent]
   =(IIF 0 < len(dir(STRdirectoryANDfilename.ext)), BOfileIsPresent = TRUE, BOfileIsPresent = FALSE)

I notice that I seem not able to designate this code directly in the boolean object's ControlSource property's grid; and yet, it functions normally when placed in the Form's On Current event which seems to fire as I navigate record-to-record.

This Status Quo is fine as is, but can you advise me if my "On Current" strategy is the best practice? Thanks.
Gregory Clancey OP  @Reply  
    
3 years ago
ERRATUM:
of course, I specify the state of the control (OptButtonIsPresent) and not its ControlSource, BOfileIsPresent.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Developer 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: 4/30/2026 4:36:24 PM. PLT: 1s