Can you tell me how the query 'qrypatients' is connected to the form 'calendar'?
MS Access Calendar
Collapse
This topic is closed.
X
X
-
-
Thank you for the quick response.
I'm using the calendar given in the path: http://www.access-programmers.co.uk/...=103747&page=2
You can see a zip file here: Input2000.zip
This calendar suits my need becuase I need to print the calendar in Outlook format and paste it on wall.
I looked into the code module of this calendar, but I couldn't find PopulateCalenda r().Could you please help me to find out how the calendar form is connected to the table 'tblInput'?Comment
-
Hi ADezii,
I saw that you have done a really good job, this is pretty impressive and it works!
I would like to us this calendar but I just noticed a problem: the dates in the calendar are wrong, for example the 9th of may is a thursday but is meant to be a monday. I noticed that there are several problem like the 31st of January is a monday and the 1st of february is a sunday, same problem between the month of May and June 2011. I looked through your code but I don't know how to solve this.
Can you tell me where the problem is from and how to solve it?
Thanks a lot,Comment
-
Wrong date
I am in Sydney Australia. The time in the upper part of the window is right, it shows the right and it matches with my computer's time.
Just the display of the days are wrong.
Attache is a screenshot of the calendar.
[imgnothumb]http://bytes.com/attachments/attachment/5138d1304945990/screenshot.jpg[/imgnothumb]Attached FilesComment
-
In the PopulateCalenda r Sub-Routine, swap Code Lines 3 and 8:- Current Code State:
Code:'*********************** Code intentionally omitted ********************** strFirstOfMonth = Str(intMonth) & "/1/" & Str(intYear) '************************************************************************* 'ADezii 'NOTE: Will work in the UK (United Kingdom) and other European Nations 'strFirstOfMonth = "1/" & Str(intMonth) & Str(intYear) '************************************************************************* '*************************************************************************
- Change to:
Code:'*********************** Code intentionally omitted ********************** 'strFirstOfMonth = Str(intMonth) & "/1/" & Str(intYear) '************************************************************************* 'ADezii 'NOTE: Will work in the UK (United Kingdom) and other European Nations strFirstOfMonth = "1/" & Str(intMonth) & Str(intYear) '************************************************************************* '*************************************************************************
Last edited by NeoPa; Oct 24 '11, 10:03 PM. Reason: New thread - http://bytes.com/topic/access/answers/920512-adezil-calendar-where-does-code-tell-db-put-info-dayblock.Comment
- Current Code State:
-
Would it be appropriate to suggest that the date format could be determined in the code by referring to the following Registry key? :
Module to Read From the Windows Registry may help if you need it.Code:HKEY_CURRENT_USER\Control Panel\International\sShortDate
Comment
Comment