Ask a Question related to Microsoft Access, Design and Development.

  1. #1

    Default Re: Calendar 9.0

    There are several calendars with the code to do that on my website:

    [url]http://www.datastrat.com/Download/XCalendar2K.zip[/url]
    and
    [url]http://www.datastrat.com/Download/Calendar2K.zip[/url]

    more can be found at Stephen Lebans website:

    [url]http://www.lebans.com[/url]

    and at the MVP website:

    [url]http://www.mvps.org/access[/url]
    --
    Arvin Meyer, MCP, MVP
    Microsoft Access
    Free Access downloads:
    [url]http://www.datastrat.com[/url]
    [url]http://www.mvps.org/access[/url]

    "Matt" <mattcrighton@era-ltd.com> wrote in message
    news:086301c35678$613344c0$a601280a@phx.gbl...
    > Could someone please help with the following problem.
    >
    > I have a form which is called "frmProjectTime", this has a
    > field in it called "DateWorked". What happens currently is
    > that when the form opens, the user will automatically find
    > themselves in the "Dateworked" field ready to enter data.
    >
    > What I would like to happen is to write some code in
    > the "on Enter" button which will take me to my Calendar
    > Form, which is the Calendar 9.0. Then when the person
    > clicks on the date that is relevant, this will
    > automatically, close the calendar form, pass the date
    > selected into the "dateworked" field and go to the next
    > field that needs to be entered.
    >
    > In the "On Enter" event procedure I have:
    >
    > Private Sub DateWorked_Enter()
    > DoCmd.OpenForm "frmCalendar"
    > End Sub
    >
    > This opens the calendar OK, but then I cannot get it to,
    > pass the date selected back to the "dateworked" field,
    > close the frmCalendar and pass to the next field.
    >
    > Could someone please advise.
    >
    > Thanks
    >
    > Matty

    ---
    Outgoing mail is certified Virus Free.
    Checked by AVG anti-virus system ([url]http://www.grisoft.com[/url]).
    Version: 6.0.504 / Virus Database: 302 - Release Date: 7/24/2003


    Arvin Meyer Guest

  2. Similar Questions and Discussions

    1. calendar
      How do you place a calendar in forms?
    2. 2006 calendar needed for photo calendar
      I want to start work on a 2006 calendar featuring my own photographs. In Photoshop there used to be a calendar-creating feature that worked well,...
    3. Pop-up Calendar
      I have some script (below) which is returning the date from a pop-up calendar. My problem is that the date is being returned in a dd/mm/yyyy format....
    4. asp calendar
      Can some of you point me to some website with good asp calendars. I did a search on the google but didn't find a whole lot . Thanks
    5. calendar asp
      Hello Everyone, I have a calendar http://thehihat.com/calendar/default.asp?month=6&year=2003 What I need to do is be able to add a graphic to the...
  3. #2

    Default Re: Calendar 9.0

    This is an oft asked question. I have added an example Access 2k Mdb file with two forms on
    my website.
    There is a readme file with it and notes in the code.
    The Calendar form has the MSCAL.Calendar.7 calendar on it. You can call this calendar from any
    form in your app using modifications of the example code provided on the TestForm that is included.
    The examples include calling the calendar by command button and by double clicking in the textbox.
    Works in standard form mode and datasheet mode.

    Goto [url]http://www.byerley.net/BdcDownSup.htm[/url] and scroll down to the AccessCalDemo.zip file.

    HTH


    "Matt" <mattcrighton@era-ltd.com> wrote in message news:086301c35678$613344c0$a601280a@phx.gbl...
    > Could someone please help with the following problem.
    >
    > I have a form which is called "frmProjectTime", this has a
    > field in it called "DateWorked". What happens currently is
    > that when the form opens, the user will automatically find
    > themselves in the "Dateworked" field ready to enter data.
    >
    > What I would like to happen is to write some code in
    > the "on Enter" button which will take me to my Calendar
    > Form, which is the Calendar 9.0. Then when the person
    > clicks on the date that is relevant, this will
    > automatically, close the calendar form, pass the date
    > selected into the "dateworked" field and go to the next
    > field that needs to be entered.
    >
    > In the "On Enter" event procedure I have:
    >
    > Private Sub DateWorked_Enter()
    > DoCmd.OpenForm "frmCalendar"
    > End Sub
    >
    > This opens the calendar OK, but then I cannot get it to,
    > pass the date selected back to the "dateworked" field,
    > close the frmCalendar and pass to the next field.
    >
    > Could someone please advise.
    >
    > Thanks
    >
    > Matty

    MikeB Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139