473,382 Members | 1,376 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,382 software developers and data experts.

Calendars

I have a table of events -
EventID Auto
EventDate Date
EventType Integer ' Social, Sport, Meeting etc
EventDetail Text

I am looking for a calendar routine that will scan this table and colour
those dates that are relevant according to the EventType. Special colour for
more than 1 event on a single date

There will be a main form showing Dates and a subform for the various events
Also click on the calendar to open the form either in the selected date or,
if nothing on that date at a new record

Any ideas

Thanks

Phil
Feb 1 '07 #1
2 2172
Phil,

I do something similar to this to record student attendance.
I started with an "Attendance Calendar" that I downloaded from http://
www.mvps.org/access/resources/downloads.htm .

It color-codes dates of attendance on a monthly calendar form. If the
student is present, the date is green and attendance code in table is
"1", attendance code 2 is red, code 3 is black. In this form, if there
is not already a record for a given date, you click on the date once
and it turns it green and adds a record with attendance code 1 to the
attendance table, click on it twice and it turns it red and adds a
record with code 2, etc. I had to add more codes and colors, so I put
a key on the bottom of the from showing what each color stood for, and
a tally of how many of that code there were in the month. By default
it pulls up the current month's calendar, and you can page up and down
through the months. It is a wonderful way to visually see what's going
on in a month.

The tricky thing for you will be the dates with the multiple events.

HTH
Mary


On Feb 1, 4:42 pm, "Phil Stanton" <p...@stantonfamily.co.ukwrote:
I have a table of events -
EventID Auto
EventDate Date
EventType Integer ' Social, Sport, Meeting etc
EventDetail Text

I am looking for a calendar routine that will scan this table and colour
those dates that are relevant according to the EventType. Special colour for
more than 1 event on a single date

There will be a main form showing Dates and a subform for the various events
Also click on the calendar to open the form either in the selected date or,
if nothing on that date at a new record

Any ideas

Thanks

Phil

Feb 2 '07 #2
Brilliant Mary.

I expect it will need tweeking, but it's 99% of the way there

Thanks a lot

Phil
"Mary" <mm**********@msn.comwrote in message
news:11**********************@l53g2000cwa.googlegr oups.com...
Phil,

I do something similar to this to record student attendance.
I started with an "Attendance Calendar" that I downloaded from http://
www.mvps.org/access/resources/downloads.htm .

It color-codes dates of attendance on a monthly calendar form. If the
student is present, the date is green and attendance code in table is
"1", attendance code 2 is red, code 3 is black. In this form, if there
is not already a record for a given date, you click on the date once
and it turns it green and adds a record with attendance code 1 to the
attendance table, click on it twice and it turns it red and adds a
record with code 2, etc. I had to add more codes and colors, so I put
a key on the bottom of the from showing what each color stood for, and
a tally of how many of that code there were in the month. By default
it pulls up the current month's calendar, and you can page up and down
through the months. It is a wonderful way to visually see what's going
on in a month.

The tricky thing for you will be the dates with the multiple events.

HTH
Mary


On Feb 1, 4:42 pm, "Phil Stanton" <p...@stantonfamily.co.ukwrote:
>I have a table of events -
EventID Auto
EventDate Date
EventType Integer ' Social, Sport, Meeting etc
EventDetail Text

I am looking for a calendar routine that will scan this table and colour
those dates that are relevant according to the EventType. Special colour
for
more than 1 event on a single date

There will be a main form showing Dates and a subform for the various
events
Also click on the calendar to open the form either in the selected date
or,
if nothing on that date at a new record

Any ideas

Thanks

Phil


Feb 2 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Andi | last post by:
Greetings all, I wish to include an ASP calendar that connects to a back-end MS Access database on a web page, to be run from my computer (running WinXP Pro, with IIS5). I have downloaded a...
10
by: gregory stevenson | last post by:
I am looking for a calendar program or script to set up calendars for my low income business based site. I want to put regular events and such. I want to make it available to most web audiences...
0
by: Mike Stephens | last post by:
Can someone please point me in the direction of a resource that focuses on this information. Alternatively, does anyone have any code examples? Regards, Mike.
1
by: Filips Benoit | last post by:
Dear All, How to store a separated company-calendar for each client-company (about 500). Company-calendar: workingdays, non-workingdays, meetings, etc. Thanks, Filips
1
by: Paul Mendez | last post by:
I was wondering if there is an add-on or a feature in ms access that I can create some type of timeline or calendar to track projects that I have going on within my organization? If I need to...
2
by: Antoni Massó Mola | last post by:
Hi, I have included the calendar control to a web project. It all works fine, but I can't jump from one year to another (2004 to 1992). I need to click on the months at the left side until I...
0
by: Mariano Padilla | last post by:
I have a form that has 12 Calendar, 1 for each month. I am retrieving information from a database separately, assigning them to an array and then in the DayRender Event, itterating through the...
1
by: Mariano Padilla | last post by:
I poste the below on 11-28-05 and got no answer. Could anyone please help me? I have a form that has 12 Calendar, 1 for each month. I am retrieving information from a database separately,...
1
by: federicog | last post by:
I'm using this calendar: http://www.dynarch.com/projects/calendar/. I have three calendars on a page, and I need to "link" them together so that if I select a month in one calendar, the two...
1
by: =?Utf-8?B?QXJ0aHVyIFBhcmtlcg==?= | last post by:
I have been looking for information on creating new custom calendars; not the control, but the class that manages dates and date calculations. The only thing I've been able to find in any of the...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.