MacFil
03-12-2006, 08:19 AM
I was searching the internet one day and I found this handy calendar. All credit goes to Jim Lunde.
JP
JP
|
View Full Version : Calendar form MacFil 03-12-2006, 08:19 AM I was searching the internet one day and I found this handy calendar. All credit goes to Jim Lunde. JP Oldsoftboss 03-15-2006, 12:16 AM Only problem, every month has 31 days. MacFil 03-15-2006, 11:42 AM I just tried it again and everything look good at my end. Oldsoftboss 03-15-2006, 10:01 PM I have seen this example a few years ago, I remember now the date format must be mm/dd/yyyy In Australia we use dd/mm/yyyy Dave AN60 03-17-2006, 01:26 PM Hi OSB I've been using two calendars for ages which you "dug up". The first was one which selects date by double clicking on the actual date & the other is a smallish model with a red circle around the current date and uses a button to select. Both work everywhere I have put them and are very easy to get working. Anyone looking for a calendar that works well should search for them. Hodges 03-20-2006, 12:45 PM Here is a mini calendar (form + VB) for date inputs (very cute): http://allenbrowne.com/ser-51.html KeLsO 06-05-2006, 02:08 AM Hello 2 all Can someone please help me out with the calendar that the topicstarter posted... It's no problem that every month has 31 days, but the problem is that the first day of the month is not correct. Example... june started on a thursdag but on the from it starts on a friday..:confused: The problem might be the fact that i live in belgium and my windows regional settings are different (we use dd/mm/yyyy). Someone allready posted this problem, but does anyone knows how to fix this problem ? I really hope y'all can help me out because i can really use this Calendar.. I would like to upload my sample but it's in dutch... if you can post the solution based on the sample of the topicstarter, that would be a great help !! Thanks in advance ! Greetz KeLsO Oldsoftboss 06-05-2006, 12:34 PM Date Calendar dd/mm/yyyy You only need to change 2 lines of code. Edit.. Those 2 lines will get the calendar to display correctly, but not fill the days with info. A couple more lines of code need changing to allow this. The attachment now has the spelling mistakes fixed and changes the text box color when a day has information. Dave KeLsO 06-05-2006, 09:08 PM Date Calendar dd/mm/yyyy You only need to change 2 lines of code. Dave A very big thank you to Oldsoftboss 4 helping me out and posting the solution !! You made my day... s7uart 06-27-2006, 07:52 AM Date Calendar dd/mm/yyyy You only need to change 2 lines of code. Dave This calculator is just what I have been looking for. I am designing a simple way to book calls into diaries for Financial Advisors. But allowing us to get the overview of all calls booked in to date. The problem is as follows.... We use a form (client) as a data input form. on this form we have the ability to add the date we have arranged the appointment etc. This is stored in the table (customers) we can then mail merge letters confirming the appointment. What i would like to do is add a button so the fields (Customersurname) (Apointdate) (appointtime) (advisor) for the current record are updated into the diary automatically. So when we access the diary we can see under the relevant dates the clients surname and time of call I Am sure this is a very simple piece of code that is needed but I just cannot get my head around it. Please Help as my Good lady Is now not speaking to me as I have ignored her for the last 72hours :D KeLsO 06-27-2006, 10:22 AM Hello Me again... After Oldsoftboy solved my date-problem... i changed some stuff and added some other stuff... The problem that i'm having is that the text boxes of the calendar doesn't save the data that i put in them... The data is saved in the table, it just doesn't show the data when i reopen the calendar... Can someone help me out.. ? Ps. i added my sample (if needed then i will translate the buttons..) Thanks in advance !! Oldsoftboss 06-28-2006, 01:11 AM Hello Me again... After Oldsoftboy solved my date-problem.. Pardon :eek: Glad to hear your date is OK :p Dave KeLsO 06-28-2006, 09:54 AM Pardon :eek: Glad to hear your date is OK :p Dave Really sorry Oldsoftboss aka dave...:o and thanks again Greetz Kelso kentwood 06-29-2006, 05:19 PM I'm really glad that I found this calendar as I was trying to desgin one myself. I am looking for a few differences on my input form though and cannot seem to adjust the coding or make it work right. This form uses one large text box to input text. What I want is a drop down to select a team which will then list the employees in that team. The user will select the employee. Then there will be another drop down that provides the difference absence codes and one is selected. Finally, a text box to input the hours. The calendar day entry would read: Name, absence code, and hours. I have worked on this all day without success so I am looking for help. I have attached a zip of the calendar along with my tables as well. Could someone please assist me as I think I am moving into new territory as a new user. Oldsoftboss 06-29-2006, 11:28 PM I will have a look over the week end. Dave kentwood 06-30-2006, 11:56 AM I appreciate it. It is so frustrating to know what you want to do and not be able to quite finish it. Unfortunately I want to be able to do anything and everything in Access right now, which is what makes going through the learning stages so hard. Oldsoftboss 06-30-2006, 06:45 PM This Db will basically do what you want, but it's not the way I would go about it. It does not cater for multiple entries for one day, and at the moment allows the selection of team, employee and code. I'm sure you can add the rest. Dave kentwood 07-05-2006, 08:03 AM I appreciate you assisting me with this. I am frustrated when I cannot figure it out myself but I do realize that I still have a lot to learn. Will I ever know it all...............No! kentwood 07-06-2006, 06:27 AM thanks for your help on this, I really do appreciate it. I was looking at all the code entries to see how it was put together and it will be useful for future projects. I understand what you are saying about the multiple entries. What I may do is use this for a specific group that is smaller (6) so that would make it more manageable. I may need to go with the orignal calendar design for the larger groups but we will need to play with it. One question I have is this: In the calendar itself, is it possible to simply list the team, Team Member and Absence code without the labels? I tried to play around a bit with it but couldn't make that happen. Labels are not important on the output to calendar and would save some room. Oldsoftboss 07-06-2006, 05:26 PM In the "On_Click event of the OK button on the form: frmInputBox you should find a line of code like this: strAbsentee = "Team - " & Me.cboTeam.Column(1) & ", Team Member - " & Me.cboTeamMember.Column(2) & " Absence Code - " & Me.cboAbsentReason.Column(1) & "." change it to: strAbsentee = Me.cboTeam.Column(1) & ", " & Me.cboTeamMember.Column(2) & " " & Me.cboAbsentReason.Column(1) & "." This will only work for new entries, not existing ones. Edit those from the table. Dave kentwood 07-07-2006, 02:01 PM Perfect!! I almost had it, except messed up on a few of the "". You have been a terrific help and I can't thank you enough. This one example has showed me a lot of things that will come in handy on all kinds of projects. Jean Oldsoftboss 07-09-2006, 02:00 AM Cheers, Dave b00zer 07-11-2006, 08:41 PM any chance it can do multiple records per day ? i have had a play and cant quite get it to do this , is there a simple way of doing it? JJJ 07-12-2006, 03:40 PM I'm glad that I found this calendar (Posted by MacFil). Does anyone know how to make this calendar display records (in each cell) from a query?? Please help!!! AN60 07-16-2006, 02:25 PM OSB I just had a look at your edits fo the basic form & you have done a great job, well done. I noticed that in the Current Month calendar report any wednesdays on the third line in the report have #name? showing & the corresponding day in the calendar form I couldn't delete any text I had entered in that day. I have'nt had time to do a thorough investigation yet and it has me stumped, any advice? Oldsoftboss 07-16-2006, 11:58 PM I corrected the spelling of Calendar, but didn't update the reports. AN60 07-17-2006, 12:24 AM OSB I'm refering to your earlier (simpler) version of the calendar with nice yellow & green background colours in the calendar form, not the version with multiple entries per day. If you look at 12th July 2006, or better still enter some text for that date, the result, on 12th July 06, when viewing the calendar form report is #name?. Deleting the data, on that particular date, is not possible either. The same thing happens with each month but is not on exactly the same date but is always once each month. Looking at it now in the calendar report I see that the offending text box is text11. Any clues where to look? By the way I really appreciate your effort on this matter. KeLsO 07-17-2006, 02:02 AM OSB I'm refering to your earlier (simpler) version of the calendar with nice yellow & green background colours in the calendar form, not the version with multiple entries per day. If you look at 12th July 2006, or better still enter some text for that date, the result, on 12th July 06, when viewing the calendar form report is #name?. Deleting the data, on that particular date, is not possible either. The same thing happens with each month but is not on exactly the same date but is always once each month. Looking at it now in the calendar report I see that the offending text box is text11. Any clues where to look? By the way I really appreciate your effort on this matter. Couldn't this be because of the specific dd/mm/yy-notation that is used in the code ? KeLsO Oldsoftboss 07-17-2006, 02:39 AM The control source for this textbox needs correcting: from =Forms!frmCalender!Text11 to =Forms!frmCalendar!Text11 Dave AN60 07-17-2006, 04:56 AM OSB Thank you, I edited text18 (had wrong one to begin with) as you suggested & the calendar report is working ok. Im still having problems with the Calendar Form and it is something to do with the second wednesday of any month?? Even if data is written it is not possible to view it in the calendar form as every other day of a chosen month. Also I can't get the data in "the rogue wednesdays" to delete, it will disapprar then next time the form is opened the data is back. I suspect it might be something to do with the date format because changing that changes the rogue wednesday cells but not in a manner we need. One way around all of this is to create a delete query & put a extra button on the form to run it. Yeh its a "butchers" way of doing things but it will get rid of the data. What's got me is that the problem is only on one wednesday in the month, not every day, what's so special about the second wednesday???? xMax 08-07-2006, 10:42 AM I need to have a Calendar that can add appointments based on name, start time, end time, and description. How do I do that? Will I need four times the number of text boxes? kgraue 08-15-2006, 03:40 PM I think I will be able to use this calendar a great deal but it would be nice if I could enter more than one entry for each day. I also want to have something that could last more than one day. These items would use a start date and end date and put the same thing on each day they occurred in between. Any help would be greatly appreciated. I am new to Access and need to get this project done. Thank you. Kevin mickelingon 08-16-2006, 12:39 AM This is what i've been looking for. Great! Can anyone create a way to use this as a time booking calender for static time ex 08.00-09.00 09.15-10.15 and so on. and also be able to write name etc to the time entry. And can someone help me to turn the "days" yellow and then change to another colour like in the example earlier in the topic. I can't get it to work Thanks Mikael PuJo 10-16-2006, 05:46 AM I am having trouble with this. I keep getting an error, error is as followed. Public Sub PutInData() Dim sql As String Dim f As Form Dim db As DOA.Database (error with DOA) Dim rs As DOA.Recordset (error with DOA) Dim mynum Dim i As Integer Set f = Forms!frmCalender Can someone shed a little light on this subject. Thanks, PuJo lovelylauralin 10-25-2006, 12:42 PM Hi, I love this calendar.. how do I get it on my database? I am extremely new at access and any help you could give me would be great! |