Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2020
    Posts
    7

    How to add more Categories and add Category details in a cell

    Hi All,
    I am new to access. I was modifying one of Peter Hibbs calendar, and I want to add more than 10 Categories, and show the Category details on the Calendar along with Time slot, Employee name, and subject. I attached the DB for reference.



    Thanks for looking into it.
    Cheers
    Attached Thumbnails Attached Thumbnails AccessCalender3.png  
    Attached Files Attached Files
    Last edited by kooldude1305; 12-05-2020 at 12:07 AM.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,928
    Those categories are just command buttons. Add as many as you want and modify code as appropriate. Will have to resize and/or move things around to make more buttons fit. I probably would have designed with a combobox or listbox instead of buttons for categories.

    Ooops, I just looked at the Daily calendar. This shows categories as columns. Now I see why developer limited to 10 categories. Expanding may not be practical with this app. How many more?

    To include category info for weekly calendar, I modified one line of code in ShowWeekAppts procedure:
    Code:
                vString = RichTextCode(vSubject & "; Cat " & rst!CategoryID & String(45, " "), rst!CatColor, vbBlack, False, False)     'format text with back color
    added: & "; Cat " & rst!CategoryID
    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
    Join Date
    Nov 2020
    Posts
    7
    Hi,
    Thanks for the reply.
    I am looking to expand 10 more categories, so totally 20 categories.
    Thanks

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,928
    Would be tricky to display 20 categories on Daily calendar. Probably have to 'wrap' the category fields and display on two lines. Arrange first 10 textboxes on a line above second 10 textboxes and the same for label headers at top. Will make form twice as long.

    tblWeekData will have to be modified to add 10 fields.
    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. Increase Font size with Shortcuts
    By ortizimo in forum Access
    Replies: 0
    Last Post: 04-29-2019, 03:16 PM
  2. Anyway to increase font size
    By GraeagleBill in forum Access
    Replies: 1
    Last Post: 04-16-2018, 09:35 PM
  3. increase the details area
    By Rasha in forum Reports
    Replies: 7
    Last Post: 04-23-2014, 11:39 AM
  4. Increase Vertical size of detail section
    By Arsalan in forum Forms
    Replies: 2
    Last Post: 01-22-2013, 01:20 AM
  5. Increase Size of Field Name
    By tonere in forum Database Design
    Replies: 5
    Last Post: 06-27-2011, 02:30 PM

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