Results 1 to 2 of 2
  1. #1
    yaro.kobzar is offline Novice
    Windows XP Access 2007
    Join Date
    May 2011
    Posts
    2

    Form limiting records

    Hi everyone,
    I have a form called Student Records, which contains a subform that is linked to another query (Students and Classes Query) which can be used to edit student information and class registration.
    I need to create a limit on a number of records that can be registered in the query to 30. If it goes over 30 i need an error message to pop up.



    Can anyone help me out on how I could get that to work?
    Thanks

  2. #2
    NTC is offline VIP
    Windows Vista Access 2007
    Join Date
    Nov 2009
    Posts
    2,392
    Off the cuff I would say look into establishing a row count field in your subform.

    Then when in row 30 - you would have the ability to trigger a message ...

    Hope it helps ..

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

Similar Threads

  1. limiting amount of records
    By yaro.kobzar in forum Programming
    Replies: 1
    Last Post: 05-17-2011, 07:01 PM
  2. limiting number?
    By vespid in forum Database Design
    Replies: 1
    Last Post: 01-10-2011, 10:34 PM
  3. Replies: 4
    Last Post: 07-28-2010, 10:27 AM
  4. Limiting fields to certain lengths......
    By softspoken in forum Access
    Replies: 5
    Last Post: 04-20-2010, 12:32 PM
  5. Limiting access to a Form
    By huskies in forum Forms
    Replies: 0
    Last Post: 12-02-2008, 09:21 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