|
|
Create calendars as Microsoft Access reports or PDF files. Specify month and year, number of months, first day for the week. Calendars display in the language defined in your Windows Region settings. Print however many months you want, such as 12 for a full year, on one or more pages depending on number of months and calendars per page. Show data from your queries. Open calendars in Access, send to printer, or create a PDF to show in a PDF reader or a web browser.
Use queries to show additional information such as holiday names and other calendar data from your database such as appointments, birthdays, schedules for your favorite sport or the ballet! whatever you want to see.
Create a Title to specifically describe displayed information.
There is lots of sample data for you to play with and get ideas from! Look at the sample queries to see how they're done, and read the Query Fields section. Turn your date-dependant data into easy-to-read calendars!
All you need to incorporate these calendars into your application is 4 modules. Calendars are scaled and positioned by VBA. There can be one or many per page.
So, you don't need this database to use the CalendarMaker! The download database has a form to make it easier to launch various calendar reports, and different report examples have VBA to position calendars, and loop, if there is more than one per page. However, you can just import the modules you need into your application, and put the logic you need into the code behind your reports.
YouTube: CalendarMaker and Document SQL at Access DevCon 2020 (15:03)
YouTube: RowSourceType Callback Function in Microsoft Access (12:33)
The CalendarMaker is written in VBA and runs in Microsoft Access. It uses Report .Line and .Print methods to do all the drawing and writing. Calendars can be scaled and positioned, so you could show multiple calendars on each page.
The default report type on the menu is full-page calendars, but you can choose something else, like multiple calendars on each page in rows and columns, which can be customized. Be sure to open only one calendar report at a time. They all use the same variables.
When the CalendarMaker application opens, one click of a button is how fast its possible to get a calendar for the current month that you can print. There could be more information on each day, but nothing was specified. Sometimes this is exactly what you want, so you can handwrite with pencil or pen, and plan or document.
If it does not, click the lock icon, enter your password, and change the setting to Read & Write. Part 3: Third-Party Layout Saving Utilities
If the quick fixes don't work, your icon cache database might be corrupted. Fix 3: Disable Themes Changing Icons Windows themes can sometimes alter your icons. Go to > Personalization > Themes . Click on Desktop icon settings . Uncheck "Allow themes to change desktop icons." Fix 4: Clear the Icon Cache Press Windows Key + R , type %localappdata% , and hit Enter. In the folder that opens, find the file named IconCache.db .
Don't panic. In most cases, the problem isn't a virus or a failing hard drive, but a simple settings glitch. This article explains the most common reasons why you can't save icons to your desktop and provides step-by-step fixes for Windows and macOS.
Right-click desktop → → Shortcut → type %windir%\system32\notepad.exe → Next → Finish. If that fails → you have a permission issue:
Outdated or corrupted display drivers can cause rendering glitches that prevent your desktop layout from drawing correctly on your screen. Right-click the and select Device Manager . Expand the Display adapters section.
Click at the bottom if you are in the compact view.
If you are still experiencing issues with your layout, tell me:
By following these steps, you should be able to keep your desktop icons exactly where you want them.
Go to the or Sync and backup tab and click Manage backup .
I should structure this as a proper how-to guide. Start with an introduction clarifying the problem variations. Then provide clear, numbered methods. Need to cover different causes: permission issues, system file corruption, explorer glitches, group policy restrictions, and cloud sync conflicts like OneDrive. Also include advanced steps like rebuilding icon cache and running SFC/DISM. End with prevention tips and a FAQ.
: drag & drop from Start Menu, or right-click → Send to → Desktop. To fix it if not saving : run the .bat script above to rebuild icon cache & restart Explorer.
If you have followed this guide, your icons should now save instantly, appear correctly, and stay where you put them. Enjoy your clutter-free, functional desktop.
Right-click the folder in the left sidebar and select Permissions .
Note: Modifying the registry can cause system issues if done incorrectly. Follow these steps carefully. Fix the NoSaveSettings Key Press Windows Key + R , type regedit , and press .
If your icons keep moving after a reboot or resolution change:
Here's a calendar in English for December 2019 with American holidays. You could change the qCalendarHolidays_US query to eliminate some of the less-known holidays by adding criteria for the Lev field (Level) and remove anything greater than 3, or maybe 1, depending on what you want to show. The data comes from the cal_HolidayCtry table, which you could swap for your own holiday table.
If you show calendar data AND holidays, the font size for holiday names is smaller. This calendar has a title defined to be "Abby's Appointments". Some days have more than one appointment, so text is combined using whatever is your list separator character for Windows. For Americans, this will be a comma.
Calendars in different languages for different countries, with holidays. I've entered holidays for 2019 and 2020 for America, and five other countries. The following calendars were created by the CalendarMaker:
First day of the week is Sunday
First day of the week is Monday
First day of the week is Sunday, like Americans ... but the holidays are a little different ...
First day of the week is lundi
First day of the week is domingo
First day of the week is mandag
If it does not, click the lock icon, enter your password, and change the setting to Read & Write. Part 3: Third-Party Layout Saving Utilities
If the quick fixes don't work, your icon cache database might be corrupted. Fix 3: Disable Themes Changing Icons Windows themes can sometimes alter your icons. Go to > Personalization > Themes . Click on Desktop icon settings . Uncheck "Allow themes to change desktop icons." Fix 4: Clear the Icon Cache Press Windows Key + R , type %localappdata% , and hit Enter. In the folder that opens, find the file named IconCache.db .
Don't panic. In most cases, the problem isn't a virus or a failing hard drive, but a simple settings glitch. This article explains the most common reasons why you can't save icons to your desktop and provides step-by-step fixes for Windows and macOS.
Right-click desktop → → Shortcut → type %windir%\system32\notepad.exe → Next → Finish. If that fails → you have a permission issue: how to save icon on desktop fix
Outdated or corrupted display drivers can cause rendering glitches that prevent your desktop layout from drawing correctly on your screen. Right-click the and select Device Manager . Expand the Display adapters section.
Click at the bottom if you are in the compact view.
If you are still experiencing issues with your layout, tell me: If it does not, click the lock icon,
By following these steps, you should be able to keep your desktop icons exactly where you want them.
Go to the or Sync and backup tab and click Manage backup .
I should structure this as a proper how-to guide. Start with an introduction clarifying the problem variations. Then provide clear, numbered methods. Need to cover different causes: permission issues, system file corruption, explorer glitches, group policy restrictions, and cloud sync conflicts like OneDrive. Also include advanced steps like rebuilding icon cache and running SFC/DISM. End with prevention tips and a FAQ. Go to > Personalization > Themes
: drag & drop from Start Menu, or right-click → Send to → Desktop. To fix it if not saving : run the .bat script above to rebuild icon cache & restart Explorer.
If you have followed this guide, your icons should now save instantly, appear correctly, and stay where you put them. Enjoy your clutter-free, functional desktop.
Right-click the folder in the left sidebar and select Permissions .
Note: Modifying the registry can cause system issues if done incorrectly. Follow these steps carefully. Fix the NoSaveSettings Key Press Windows Key + R , type regedit , and press .
If your icons keep moving after a reboot or resolution change:
Needs VBA7 to run. Fixed code for 32-64 with the help of Peter Cole, the world expert on this topic. Thanks to Garry for telling me that running in 64-bit didn't work.
Download Peter's Scanner and Viewer (comes with scanner)
to find problems and lookup correct syntax for API calls.
https://www.thememydatabase.co.uk/access32to64.html
it's free -- click the Download button and then click Add to Cart in the screen that pops up. There won't be a charge.
If you're using Access 2007, get this version. Sample data for dates in 2020 or 2021
If you want to download a version where you can specify
background day colors in your data, as shown below, go to
https://msaccessgurus.com/tool/CalendarMaker_DayColor.htm
This is a regular ACCDB file with source code. It may be used freely, but you may not sell it in whole or in part. You may include it in applications you use yourself, and that you develop to help others. Keep attribution. Use at your own risk.
Remember to unblock the ZIP file, (remove Mark of the Web) before extracting the file(s). Here are steps to do that: https://msaccessgurus.com/MOTW_Unblock.htm
Report Draw Reference for VBA syntax and help for drawing on Access reports.
Help: WeekdayName function
Help: Report.Line method
Help: Report.Print method
Help: Report.TextHeight method
Help: Report.TextWidth method
Help: Report.CurrentX property
Help: Report.CurrentY property
Help: Report.FontSize property
Someone wrote and asked me to make my popup calendar to pick dates to use Monday as the start day for the week since he's in France and that's the way they do it.
I'm fascinated by the power of drawing on reports, and so I dove into making calendars ... do you like it?
If you want to customize this in a way that isn't demonstrated, or need help understanding, contact me. I'm happy to help.
Special thanks to Duane Hookom, Dale Fye, Daniel Pineault, Arvin Meyer, and Adrian Bell.
Please donate to help with costs, thank you!
Communicate, collaborate, and appreciate ...
email me anytime at info@msAccessGurus
Do you have a project that could benefit from an expert developer helping you? Let's connect and build your application together. As needed, I'll pull in code and features from my vast libraries, cutting out lots of development time. Let's build whatever you're working on together! I look forward to hearing from you.
Email me anytime at training@msAccessGurus
~ crystal
Let's connect and team-develop while we build your application together.