Access 2007-2019
Access 2000-2003
Access Seminars
TechHelp Support
Tips & Tricks
Access Forum
Course Index
Topic Glossary
Insider Circle
 
Home   Courses   Seminars   Templates   Help   TechHelp   Forums   Contact   Join   Order   Logon  
 
Home > Courses > Access > Developer > D31 > D31 Outline < D30 Outline | D32 Outline >
 
Access Developer 31

01. Navigating Files & Folders (38:52)
File Management with Access
File Picker (PickFile)
Early vs. Late Binding
Use Numbers not Constants
Application.FileDialog
CurrentProject.Path
Dir Function
Loop Thru Files in Folder
vbNormal, vbDirectory
GetAttr Function
Move Thru Folders
InStrRev Function
ShellExecute to Open Files
FileLen Function
Format #,##0 Thousands Separator

02. Copying Files, Part 1 (32:34)
Learn the FileCopy Command
Browse and Pick File
Copy to Central Images Folder
Display on Customer Record
Add MyPicture Field to CustomerT
TempVars("PictureFolder") on Startup
Make Sure Folder Exists
FileExists, FolderExists Functions
Create Folder with MkDir
Button to Browse for Picture
Open a Command Prompt CMD
Windows Environment Variables SET
Environ("USERPROFILE")
Remember Last Browse Folder Location
FolderNameFromPath
FileNameFromPath
TempVars("LastBrowseFolder")
FileCopy Command
Put Image Control on Form
Check Size of Files
FileLen Function

03. Copying Files, Part 2 (20:18)
Delete Old Profile Picture if Exists
Kill Command
Verify that File was Deleted
Timestamp Filenames
File I/O Error Handling Concerns
Rename a File with Name Command
ChDrive, ChDir

04. Compact & Repair Backend Files (45:54)
Create Backend ACCDB Folder
Copy BE Files
Create BEFolder Field
Create PickFolder Function
Global Settings Table for BE Folder
Make FileList List Box
Loop Thru ACCDB Files in BE Folder
Use DIR for Loop
Load into FileList
Display FileLen in FileList
Loop Thru FileList 
Create DoCompact Sub
Application.CompactRepair
DBEngine.CompactDatabase
Make Sure Backup Folder Exists
Copy Backups with DateTime Stamp
Perform Compact
Verify Dest File Exists
Delete Old File, Rename New One
Add Error Handling

 

 

You may want to read these articles from the 599CD News:

9/10/2021Benefits of Access
9/10/2021Access on a Phone
9/5/2021Prevent Deletion
9/4/2021Booklet Template
9/4/2021Inspections Template
8/29/2021What is Microsoft Access?
8/27/2021Union Query
8/24/2021Navigation
8/23/2021Concatenation
8/20/2021Hyperlinks
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Account Login
Online Theater
Downloads
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
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
Email Richard
Mailing Address
Phone Number
Fax Number
Course Survey
Blog RSS Feed    Twitter

YouTube Channel    LinkedIn
Keywords: file picker, pickfile, late binding, application.filedialog, currentproject.path, dir, vbnormal, vbdirectory, getattr, instrrev, shellexecute, filelen, thousands separator, filecopy, fileexists, folderexists, mkdir, environ, filename, filelen, kill  Page Tag: outline access 4 31  PermaLink