Results 1 to 4 of 4
  1. #1
    hamish mather is offline Novice
    Windows XP Access 2003
    Join Date
    Dec 2011
    Posts
    6

    get result of the holidays on my form

    on my form tblDebtor i have start date and end date in that selection


    there are so many holidays(Count)...Now I need those holidays to apear
    in my form eg 01/01/2012 and 16/01/2012.. I dont want the table to be on
    my form... I hope this makes sense


    I get count of holidays on my form

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    You are allowing only two holidays to display by using textboxes to show the holiday dates. Will there always be only two holidays? If so, could try DMax and DMin to return the two values that fall within the date range.

    Why is there a radio button?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    hamish mather is offline Novice
    Windows XP Access 2003
    Join Date
    Dec 2011
    Posts
    6
    I will put 5 or 6 txt box there,hidden and you an iff function not null to make the holiday
    visable

    the radio button will print the del slip for customer

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    What is del slip?

    Using textboxes is to retrieve and display varying set of up to 6 holiday dates will be difficult and is inefficient. I suggest a subform or a listbox.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Start and end of holidays for a customer
    By webisti in forum Access
    Replies: 11
    Last Post: 06-03-2011, 11:16 AM
  2. quarterly, excludes weekends and holidays
    By madagaluna in forum Queries
    Replies: 2
    Last Post: 04-01-2011, 12:56 PM
  3. How to analyze holidays/weekends
    By Galio83 in forum Queries
    Replies: 0
    Last Post: 03-31-2011, 12:27 PM
  4. Holidays falling between dates
    By Alex Motilal in forum Queries
    Replies: 1
    Last Post: 11-15-2010, 11:59 PM
  5. calculate holidays
    By barkarlo in forum Queries
    Replies: 0
    Last Post: 12-20-2006, 06:08 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