473,387 Members | 1,798 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

MS Access Multi Calendar Use in Same Database

RockKandee
89 64KB
Hi,

I am very new to MS Access. I hope to put my database on Sharepoint at a later date. Currently I am using a desktop MS Access 2013 database. I have been working with the calendar I found here....

http://bytes.com/topic/access/answer...ccess-calendar

Awesomeness!!!

I want to use more than one calendar in the same database each with a different table populating it. Is this possible?

I tried duplicating the modules and forms and changing the info accordingly, however, this is not working. It appears that the modules are remaining as one and creating errors when I change the name of the calendar form or populating table.

The reason I want separate calendars: I want to use the form pop up within the calendar and I have different forms for scheduling courses and events. Plus I would like to populate the calendar with reoccurring holidays and have one calendar that displays everything.

If there is a way to split the day blocks to allow 2 popup forms, that could possibly work.

Is there a thread anywhere about creating a report or form that could display one week of the calendar at a time?

I have been trying to make a few custom changes and I am encountering some difficulties. Maybe I can get into these questions later.

Any help would be greatly appreciated. Thanks for your time.

Kandee
Dec 8 '13 #1

✓ answered by ADezii

I want to use more than one calendar in the same database each with a different table populating it. Is this possible?
Most definitely, it is.
I tried duplicating the modules and forms and changing the info accordingly, however, this is not working.
Do not attempt to duplicate the Standard Code Module mdlMain or the Class Module objDateInfo. Multiple Calendars (Forms) can share these Modules and you will get an Error if you duplicate them. The overwhelming majority of the Code is contained within 'Private' Sub-Routines and a single Function within the Calendar Form itself, and thusly is encapsulated within it. This is why you can have as many Calendar Forms with independent Data Sources as you like.

4 3117
PPelle
17
I just did this by making a copy of frmCalendar, no other change, and it works flawlessly. What errors are you seeing?

But you can't make the calendar popup, that will prevent the Form_Activate proc from running, where the populating is done. To fix this, just add PopulateCalendar to the Form_Open proc.
Dec 8 '13 #2
zmbd
5,501 Expert Mod 4TB
RockKandee
Hello and welcome.
We're glad that the Calendar project was/is helpful and although there may be solutions to your questions, I am going to have to ask you to pick one to start with...

Forum rules usually restrict one question per thread.

As PPelle pointed out, you didn't state the error messages. When you do so, please, use the EXACT title, the EXACT number, and the EXACT text of the error message. Please do not truncate/paraphrase or omit any of this information.

We will also need to know which Operating system and what version of Office/Access you are using.

You will also need to he VERY patient at this point in time. THe expert that had/has a major hand in this particular application is currently involved with another major undertaking; therefore, I respectfully ask you to take a deep breath and keep in mind that the Bytes.com Experts and Moderators are unpaid volentiers and we try our best to lend a hand inbetween our obligations to work, family, and friends. (^-^)

Although it may seem like your thread gets lost, please resist the urge to bump-it...

-z
Dec 8 '13 #3
ADezii
8,834 Expert 8TB
I want to use more than one calendar in the same database each with a different table populating it. Is this possible?
Most definitely, it is.
I tried duplicating the modules and forms and changing the info accordingly, however, this is not working.
Do not attempt to duplicate the Standard Code Module mdlMain or the Class Module objDateInfo. Multiple Calendars (Forms) can share these Modules and you will get an Error if you duplicate them. The overwhelming majority of the Code is contained within 'Private' Sub-Routines and a single Function within the Calendar Form itself, and thusly is encapsulated within it. This is why you can have as many Calendar Forms with independent Data Sources as you like.
Dec 8 '13 #4
RockKandee
89 64KB
Thank you for the replies. Making a copy of just the form worked perfectly. I am so happy that I can use multiples.

Just to clarify for the future..... Would Windows 8 be considered an operating system? And could I get an example of how to say what version of access I am using. What did I miss?

"Currently I am using a desktop MS Access 2013 database."

I apologies for breaking the rules.


Thank you PPelle for the code to make the pop up feature work. That was going to be a future question.

This calendar is great. My thanks to Adezii for all of the time put into it and for sharing.
Dec 8 '13 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Bright | last post by:
Dear All I'm after a multi-User password database so that I can centrally store system passwords and give granular access to individuals based on their own unique authentication (possibly a...
0
by: timothy.williams | last post by:
We have mysql running on a Linux server now, but an exercise we are running are causing this machine to bog down. We'd like to just shut down the server on this machine and start it up on another...
6
by: Chris Tyson | last post by:
I created an Access 97 database a while ago. It is protected by Workgroup Security, and it is not split. In order to compare different sets of results, a colleague has suggested that it would be...
11
by: MLH | last post by:
My alzheimer moments occur with greater frequency these days, it seems. I sometimes open Access and the same dbase in a second instance and work on items. If I modify a form and discover later...
4
by: Bob Alston | last post by:
Anyone have experience with converting an access app from Jet database to Mysql? I am specifically looking for any changes I would have to make to my access forms, queries, modules, vba code, etc....
3
by: gabry.morelli | last post by:
Hi everybody, I wanted to start an application using the MS Access 2003 Project, but as I create an .adp file it asks me to connect to a SQL Server. But I needed to create the dabase directly...
4
by: chowdhury | last post by:
Hi, I am new in visual basic. i want to know how to connect and access data to MS Access or MS SQL database from a visual basic form.plz write me the code. Regards, chowdhury
18
by: Dennis | last post by:
Greetings. I want to run the two versions of Access on the same machine (2003 & 2007). I still need 2003 for most of my work, yet I need to start learning 2007. In my previous attempts at this,...
3
by: trixxnixon | last post by:
Has anyone had a situation where they had to supply end users with a frontend for a database that was created with a different version of access that the table is housed in? my database was...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.