Results 1 to 3 of 3
  1. #1
    sesproul is offline Advanced Beginner
    Windows Vista Access 2007
    Join Date
    Jan 2010
    Posts
    50

    SplitForm for DataEntry, Filter based on keystrokes

    Hello,



    Is there a simple setting to either set the recordsource to requery based on the values entered into a textbox for PartNo with each KeyStroke.

    So I was thinking of adding the code into the PartNo_KeyPress function, but how would I apply the filter, or change the Recordsource.


    the Table is Parts, (only 5 columns of data)


    Thanks,

    Steve

  2. #2
    llkhoutx is offline Competent Performer
    Windows Vista Access 2007
    Join Date
    Jan 2010
    Location
    Houston, Texas USA
    Posts
    373
    Assuming that your form recordssource is appropriatelt filtered
    Code:
    me.requery 
    does wat you want.

  3. #3
    sesproul is offline Advanced Beginner
    Windows Vista Access 2007
    Join Date
    Jan 2010
    Posts
    50
    I'll try it out.


    Thanks,

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

Similar Threads

  1. Replies: 0
    Last Post: 12-16-2009, 01:14 PM
  2. filter form based on combo box
    By lloyddobler in forum Forms
    Replies: 8
    Last Post: 09-10-2009, 07:33 AM
  3. Replies: 1
    Last Post: 03-01-2009, 09:53 AM
  4. Form Based Query/Filter
    By Micon in forum Access
    Replies: 0
    Last Post: 11-07-2008, 09:25 AM
  5. Open a table in a From based on a filter
    By turbobeagle in forum Forms
    Replies: 1
    Last Post: 01-11-2008, 12:27 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