Results 1 to 3 of 3
  1. #1
    Ashe is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2010
    Location
    Blacksburg VA
    Posts
    65

    Clear records off of continuous form

    Hi!
    I’m trying to find a command to clear all the records on a continuous form that were called up using a strWhere Filter and combo boxes.



    There are four unbound combo-boxes in the header that the user can choose from and then I have a command button coded to filter (Me.FilterOn) for those criteria.


    The matching records display in the details section of the form (continuous-style).



    Is there a command to reset the details section of the form to be blank? I’ve tried refresh, requery, repaint, etc. All of these leave the previously queried data. Removing the filter doesn’t work because that display all the records. I basically want the form to look exactly the way it did when it was first opened.


    Thank you in advance.

  2. #2
    NTC is offline VIP
    Windows Vista Access 2007
    Join Date
    Nov 2009
    Posts
    2,392
    well you are swimming against the conceptual stream - so to speak.

    A form is bound to its record source. It is not really intended that one would have a screen of multiple blank records. Only 1.

    If you really need this visual approach - then perhaps an unbound form (not continuous - but fixed set up to sort of look continuous - but can't be infinite) with an AppendQuery to add the data. Kind of a kludge though....

    Hope this helps a little.

  3. #3
    Ashe is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2010
    Location
    Blacksburg VA
    Posts
    65
    Oye! I'll have to mull this one over for a bit. Thanks!

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

Similar Threads

  1. How to clear the form?
    By Mrcams in forum Access
    Replies: 3
    Last Post: 01-03-2011, 12:15 AM
  2. Continuous forms records missing
    By KWarzala in forum Forms
    Replies: 2
    Last Post: 12-28-2010, 12:42 PM
  3. Command button code to clear form
    By windwardmi in forum Forms
    Replies: 15
    Last Post: 11-21-2010, 03:21 PM
  4. Replies: 3
    Last Post: 09-06-2008, 10:19 AM
  5. Continuous Range of Records
    By tigers in forum Access
    Replies: 0
    Last Post: 10-10-2007, 08:36 AM

Tags for this Thread

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