Results 1 to 3 of 3
  1. #1
    ACONTE is offline Novice
    Windows 10 Access 2010 64bit
    Join Date
    Jun 2019
    Posts
    1

    Question Placing data limits

    I am trying to place campers into the activities they will take during the day. I have columns for names and one for each period so we can write in the class they will be taking that period. I am wondering if I can place a limit on the amount of times a class can be put in for each period. For example, if I am putting in the class each camper will take first period and one class fills up, is there a way I can get access to notify me? Thank you!

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,822
    Most anything can be done with enough code.

    Have a field in table with class limit. When class is selected do an aggregate count of records and compare to limit. What happens where and when depends on table and form design and your work flow.
    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
    Micron is online now Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,737
    I have columns for names and one for each period
    If you have placed your 'periods' into fields, that is spreadsheet thinking and will not serve you well overall. If you had periods in rows as records, calculations would usually be much easier, not to mention following normalization guidelines.

    It has been suggested that you "do an aggregate count of records" but I interpret your initial post to mean that you've placed what ought to be in records into fields instead.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

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

Similar Threads

  1. Solutions for reaching data limits?
    By drr1970 in forum Access
    Replies: 3
    Last Post: 08-08-2017, 06:52 PM
  2. Replies: 3
    Last Post: 02-19-2015, 04:41 PM
  3. Placing query data on the form
    By snowboarder234 in forum Forms
    Replies: 7
    Last Post: 11-07-2012, 11:30 AM
  4. VBA Opening Excel File and Placing Data in Cells
    By BobTHG in forum Programming
    Replies: 0
    Last Post: 01-13-2008, 03:01 PM
  5. Placing '0' in front of data
    By wasim_sono in forum Queries
    Replies: 2
    Last Post: 09-07-2006, 06:00 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