Results 1 to 2 of 2
  1. #1
    SaPires is offline Novice
    Windows 7 32bit Access 2013
    Join Date
    Jun 2014
    Posts
    5

    Color box with tables values

    I have a calendar to let the users pick up the days and will be saved temporarily in a table to print but i only can display the current month in calendar, when the user change the month the color of the boxes change to normal, in attached i send the DB, i need help with the code.


    In resume, the users select the days in calendar and when change from one month to another the days picked stay with color.

    https://www.dropbox.com/s/5illuh5p5t...dar.accdb?dl=0
    Last edited by June7; 10-07-2014 at 11:21 AM.

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,441
    if you're still working on this problem could you say if you are (it's 2 weeks old and I just looked at it)

    From my understanding if you have picked (the background color of the day is green) and you switch months, you want the same days on the next month to be highlighted as well.

    So for instance if the 1st and 2nd of october are green and you switch to november you want the first and second of november to be green as well.


    Nothing gets appended to your temp table (TMP) simply by clicking the dates so what you're asking would likely involve building an array of dates which isn't too hard but I don't want to work on this if it's already done.

    If you want to copy those dates after you hit your 'print record' button that would be a bit easier because you could just bulk insert data into the temp table adding a month to existing records. You would have to be careful for things like dates on the 31st of the month when the following month only has 28, 29 or 30 days.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Matching id values between two tables
    By Nimo in forum Access
    Replies: 8
    Last Post: 06-04-2014, 01:29 PM
  2. How to sum two fields values in different tables.
    By Marcelo Rojas O. in forum Access
    Replies: 1
    Last Post: 03-16-2014, 01:33 AM
  3. Replies: 2
    Last Post: 11-06-2013, 02:12 PM
  4. Replies: 1
    Last Post: 12-14-2010, 10:03 PM
  5. Replies: 8
    Last Post: 05-25-2010, 04:50 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums