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

Need Help on Access 97 --- how to use the Calendar

I am setting up a database which allows me to track down documents by due date. Apart from setting a criteria inside the query, I am hoping to use a calendar. By that, I can choose a date from the calendar and the date can be used as the due date required for the criteria in the query. however, I do not have a clue on setting it up. Could any body please help me on this?
Oct 12 '07 #1
5 1511
puppydogbuddy
1,923 Expert 1GB
I am setting up a database which allows me to track down documents by due date. Apart from setting a criteria inside the query, I am hoping to use a calendar. By that, I can choose a date from the calendar and the date can be used as the due date required for the criteria in the query. however, I do not have a clue on setting it up. Could any body please help me on this?
See this link for a native Access form calendar for Access 97 with complete instructions on how to install and use. Use of a native Access form calendar is advised over the use of an activeX calendar for the reasons stated in the link:

http://allenbrowne.com/ser-51.html
Oct 12 '07 #2
dear puppydogbuddy ... thank you very much for your help. I will give it a try.
Oct 15 '07 #3
Yes, i can get the date from a calendar form. however, the problem I am facing now is that ... how to set it to be '<=(select date)'?
Oct 15 '07 #4
puppydogbuddy
1,923 Expert 1GB
Yes, i can get the date from a calendar form. however, the problem I am facing now is that ... how to set it to be '<=(select date)'?
Sam,
I am not sure what you are asking, but here is how it should work:
1. If you need to be able to do computations for activity between a start date and an end date, you would generally create a popup date parameter form with 2 textboxes (startDate, endDate). This date parameter form is separate from your data entry forms, on which you might have a textbox for the transaction date, although you would generally just default the date to the system date and not use a calendar.
2. The textboxes for the date parameter form, should be formatted as dates, but generally be left unbound. The textbox for the transaction date in your data entry forms should be bound to date fields in the underlying table that provides the data source for your form.
3. A calendar button is assigned to a textbox on the button click event via the following expression that is placed in the button's On Click property in its property sheet.
=CalendarFor([YourTextbox1], "Select the start date")
and for the second button on the date parameter form:
=CalendarFor([YourTextbox2], "Select the end date")

and for a button on your data entry form (if needed):
=CalendarFor([YourTextbox3], "Select a date")

4. Once the date range is captured on your date parameter form, you can use as follows:

Select datefield, field2, fieldx
From yourtable
Where datefield between Forms!YourForm!YourTextbox1 and Forms!YourForm!YourTextbox2
Oct 15 '07 #5
Thank you puppygodbuddy!
Best regards,
Sam
Oct 17 '07 #6

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

Similar topics

1
by: Charles | last post by:
I have a query in access 97 that pulls names and associates those names with dates. I'd like to have a calendar function that would simply display the names under the correct date listed. ...
1
by: Charles | last post by:
I have a query in access 97 that pulls names and associates those names with dates. I'd like to have a calendar function that would simply display the names under the correct date listed. ...
1
by: Andy Davis | last post by:
Is it possible to link data from an Access database with Outlook? My client would like to be able to have a calendar similar to that in MS Outlook whereby they can type daily tasks on the calendar...
6
by: enak | last post by:
I need some help. I have a group of attorneys that need to be able to see the schedule of court dates. These dates are scheduled by the legal assistants. This is what I need: when a legal...
1
by: xian2 | last post by:
Hi, I wanted to create a calendar in Access that would call on data stored within tables in the database (dates in forms) and would show it visually on a calendar when the calendar was opened. I...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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.