Creating A Date List Or Calendar

Dec 22, 2004

Hi all~

A database front end which was built by somebody else got handed to me to do some updates (as the person who created it is no longer with the company).

The database currently has roughly ~30 reports, about 15 of which are pulled daily, and the rest weekly/monthly. Part of the report criteria selected by the user are beginning and end dates. Currently the dates are input via text boxes on a form, then referenced by the SQL statement which generates the report data.

The users want the text boxes to be changed to either a drop down list or a calendar which they can just click on a date instead of typing it in. I know .NET provides controls for a built in calendar which you can use for date selection, but this database is simply an Access front end, so I cannot use .NET.

Is there an easy way to accomplish this via VBA?

View Replies


ADVERTISEMENT

Creating A Pop-up Calendar

Jun 15, 2006

Does anyone know if it is possible to create a calendar, with term dates inserted by myself, that others could then use when planning courses ???

View 1 Replies View Related

General :: Creating Individual Calendar For Each Record

Jul 16, 2014

Not sure if it's possible but I'm trying to create individual calendar's for each staff member and client to put availability and bookings on to them. I've tried using the active x control but it's not really what I want, not sure how else to approach this as my access skills aren't that great.

View 3 Replies View Related

Forms :: Creating Calendar With Appointments And Schedules?

Jul 8, 2013

I'm creating a database for a sales team. They need a calendar where they can enter the reminder like "call peter at 10:30 on 11th july" and reminder like " call frederik on july12 at 12:30am,etc. And they need a popup when the reminder is due. Is this possible in access.

View 6 Replies View Related

Modules & VBA :: How To Make A Calendar Form With List Boxes Having Two Columns

Jul 19, 2013

Runtime Error 3075? I have attached a copy of my database. I am trying to make a calendar form with the list boxes having two columns. It works fine with the strFieldID and strFieldName but when I try adding the strDone I run into the error.

View 6 Replies View Related

Reports :: Custom Reports Creating Chart Based On Month Not Calendar Year

Jun 15, 2015

I am editing a database that provides the option of creating custom reports, where the user can input a date range of their choice and receive aggregate data for that time frame. Although all of the numbers in the report are correct, I am having trouble with a chart that I inserted into the report.

Specifically, if the date range requested spans 2 calendar years (i.e. April 2014 through January 2015), the data for January 2015 appears at the beginning of the year (so the chart x-axis is for Jan through Dec, and the Jan 2015 data is showing up in Jan (as if it was 2014, not the end of the given range in 2015). When I try with smaller time frames within a calendar year, it adjusts just fine (i.e. shrinking the window so just March-May is displayed on the graph).

How to adjust the axis so that it properly records the data range- so that it would start the axis with April and end in January, for example?

View 2 Replies View Related

Calendar Date Problem

Aug 14, 2005

Cant figure out why Im having this problem.... Have a form with two calendars on it..... at the start I have this code

Private Sub Form_Load()
Calendar2.Today
Calendar3.Today
End Sub

And then for the text box on the calendar this........

Private Sub Calendar3_Click()
EndDate.Value = Calendar3.Value
EndDate.SetFocus
Calendar3.Visible = False
End Sub
Private Sub EndDate_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Calendar3.Visible = True
Calendar3.SetFocus
If Not IsNull(StartDate) Then
Calendar3.Value = StartDate.Value
Else
Calendar3.Value = False
End If
End Sub

Now for some reason the calendar does not want to default to the current days date!!

Anyone see anything wrong?

Thanks

View 3 Replies View Related

Insert Date From Calendar

Feb 3, 2006

I have a form that has a date field. I have a button next to that field that opens another form that I've placed a calendar on. Is there a way to click on a date in the calendar and have it automatically insert the date into the date field on the previous form?

View 12 Replies View Related

Events Calendar Date HELP

Mar 3, 2005

please help!

I have added a calendar into my site, I have a new table in my access database called: Cal

I want to ADD AN EVENT

The records I have in that table are:

eventID
eventTitle
eventDesc
eventDate

so I designed my ADD NEW EVENT form

my problem is:
what do I put in the form for eventDate (3 select form fields? Day/Month/Year?) it doesn't work??!

View 3 Replies View Related

Calendar Control Outputting Date AND Day

Aug 25, 2005

Hi

I'm recently added the CalendarControl 9.0 into some combo boxes in order to quickly input dates - however only the dates are then added, not the day of the week. The day of the week would be really useful if it was visible as the form is outputted to a HTML page for our intranet for other staff to see.

My (relevant) code at the moment is as follows:

-------------------------------------------------

Option Compare Database
Option Explicit
Dim cboOriginator As ComboBox

Private Sub cboStartDate_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)

Set cboOriginator = cboStartDate

ocxCalendar.Visible = True
ocxCalendar.SetFocus

If Not IsNull(cboOriginator) Then
ocxCalendar.Value = cboOriginator.Value
Else
ocxCalendar.Value = Date
End If
End Sub

Private Sub cboEndDate_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)

Set cboOriginator = cboEndDate

ocxCalendar.Visible = True
ocxCalendar.SetFocus

If Not IsNull(cboOriginator) Then
ocxCalendar.Value = cboOriginator.Value
Else
ocxCalendar.Value = Date
End If
End Sub

Private Sub Form_Load()
ocxCalendar.Visible = False
End Sub

Private Sub ocxCalendar_Click()
cboOriginator.Value = ocxCalendar.Value
cboOriginator.SetFocus
ocxCalendar.Visible = False
Set cboOriginator = Nothing
End Sub

-------------------------------------------

Any help and ideas much appreciated!

View 13 Replies View Related

Calendar Date And Time Picker

Nov 27, 2007

Hi All,

I know there are several examples of calendar date and time pickers about so I thought I would offer mine up for critique.

No modules, very little code, code used is simple and can be called from subforms as well as forms.

I used these forms in an application where the users find filling in date and times in the correct format difficult with limited keyboard skills.

If it can be improved let me know..... :)

Garry

PS I think the contributions Banana has been making to this forum are invaluable.
Keep up the good work.

View 5 Replies View Related

Having A Calendar Show Today's Date

May 4, 2005

Hi,

I have placed a calender object in Access 2003 on a form of mine and would like it to show the current date. Is there a way to set a default? IF it is code, where does it go?

View 2 Replies View Related

Date Field Update From Calendar

Aug 7, 2005

I've run into some mysterious problem...

I use some bits from both of these calender examples
http://www.access-programmers.co.uk/forums/showthread.php?t=62606&highlight=calender

I mainly use the double-click version, but I've got two date fields (start and stop date) and use som ideas from the other for that.

When I use it in my form it works almost perfect. The only problem is when I double-click a date in the calender, to get it into the date field, the date won't update in the date field until I click another object in the form.
Why? Any ideas?

/Anttu

View 2 Replies View Related

Forms :: Add Date From Viewing The Calendar

Jun 1, 2013

I want to add a date from viewing the calendar. When I click on the date text box then want to see the calendar and I will choose the date and that date will appear in the text box.

View 7 Replies View Related

General :: Put The Date In Calendar Pops Up

Jan 7, 2015

I would like to put the calendar on my form so when I want to put the date in the calendar pops up. I have access 2013 but I am unable to locate it.

View 2 Replies View Related

Entering A Date From Access To Outlook Calendar

Mar 8, 2007

I have developed an Access database which keeps track of items we have received. What I want to do is enter a date in a field and then by clicking a button that date and the name of the item gets enetered into my Outlook calendar so that it will pop up a reminder on that date.
I have no idea if/how this can be done. Any ideas or examples very much appreciated.

View 2 Replies View Related

Popup Calendar, How To Choose The Day Aswell As The Date

Nov 30, 2006

hi.. i have attached a simple db.. 1 table.. 2 fields..

jobdate and jobday

open the form and double click on the jobdate.. it opens a calendar.. when you choose a date it puts it into the jobdate field..

i have created a simple drop down underneath the jobdate with the days of the week..

is there a way to tweak the calendar module so it also chooses the job day.. because the days are clearly displayed along with the number dates.. so it must be possible..

here is the db in 2000 and 97 format..

thanks in advance.. i think this will benefit many users using this calendar

View 6 Replies View Related

Forms :: Adding Date In Textbox From Calendar

Jul 23, 2013

How can i add date in textbox by simply selecting it from calendar?

View 2 Replies View Related

Modules & VBA :: Calendar Not Linked To Date Field

Jul 3, 2013

I'm using access 2003 with the calendar control 11, this works fine for entering values control whose control source is a date field.

My problem is that now I'm trying to use the calendar to update the value of a unbound textbox and it will not allow me to enter any value other than the default value of the calendar.

I have to update the unbound textbox as I want to use a button later on to update the date field and include a confirmation message before entering to avoid accidental entering.

View 3 Replies View Related

General :: Open Calendar Control Replacement On A Certain Date?

Jul 27, 2013

a couple of months ago i found a celndar control replacement that Microsoft kindly provided. i have made a few mods that allow me to change the day/week etc. i would now like to tell it to open on a certain date. the reason is that on each of my client records i have 'Future Appointments'. i would like to be able to select a future appointment and click a button that then opens a form that includes the calendar and go to the date of the future appointment. the calendar controls the diary. whatever date the calendar is on the diary matches. so to change to the date of the appointment i need to change the calendar date.

i tried the obvious first.

[Forms]![frmDiaryMultiView]![frmCalendar].Value=#01/01/2012#

that didnt work as the calendar does not seem to recognise it.

i am totally lost with this as i dont even understand most of the code that is behind the calendar, so i dont know what i am looking for to use to open it on a given date.

View 1 Replies View Related

General :: Add Calendar To Form - Insert Selected Date?

Oct 2, 2013

I have a database that has textfields / forms, what I would like to do is to add an option that when the textfield is clicked a calendar will appear and when the user selects the date in the calendar interface, it will insert the date for them.

How can I do this in MS Access?

View 2 Replies View Related

General :: Filter Form With Selected Calendar Date

Aug 17, 2015

I have a continuous form bound to a query. I want to filter this form with any date inputted into a text box through a pop-up calendar control. The default date in the text box should be Date().In the query, I set the criteria on Call_Date filled as follows but the form does not requery to return the expected data:

Call_Date:
Criteria: Forms!F_On_Call_Officers!txtEndDate

View 2 Replies View Related

Creating A Sublist Within A List- Is This Possible?

Dec 11, 2004

really really sorry to be a pain here. not sure if tis possible, but can you create a sublist within a list in a table? i'm doing a musical databaseand i want to create a field which contains different categories/families of instruments, such as woodwind, brass, etc. is there any possible way to create a sublist within this list box, so in other words, say you select woodwind, another list box comes of the option, with all the individual instruments for each family? thanks anyone for your help.

View 10 Replies View Related

General :: Calendar Icon In Textbox To Populate Chosen Date

Oct 14, 2013

I have started converting our Access 2003 to Access 2010 applications. In the past we have used the Calendar to pick a date to place in a textbox. I noticed that this feature will not work in Access 2010.

So I looked around and saw several references to using the calendar pick feature to a textbox...but without success.

How to have a textbox with a calendar icon next to it to populate the chosen date in the textbox?

View 2 Replies View Related

Creating Dynamic Drop Down List?

Jul 29, 2013

I want to create a drop down list that is dependent on a control button. Drop down menu changes depending on the value entered in another field.

Example:

If ListBox1 = 1

Then ListBox2 drop down menu = a,b,c,d

If ListBox1 = 2

Then ListBox2 drop down menu = x,y,z

If ListBox1 = 3

Then ListBox2 drop down menu = l,m,n,o,p

View 3 Replies View Related

Forms :: Access 2010 - Set Calendar Control As Criteria For Date In VBA Query?

Aug 6, 2013

I need to set calendar control as criteria for date in VBA query. I cannot find Calendar control in ActiveX tools in Acc 2010. Where is it?

Date picker seams like very slick and simple solution but I can see it only in database. As it might be solution to my problem, can date picker be used on a form as criteria for VBA query?

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved