Looking for a dynamic Access template.

Can someone suggest a MS Access template I can download that has a form header that contains an unbound text field.  When the user starts entering data into the text field a datasheet sub-form on the main form starts to populate with records that contain the text being typed in the text field and changes as the user keeps typing.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dale FyeOwner, Developing Solutions LLCCommented:

I would generally recommend against this, unless the number of records in the unfiltered datasheet is relatively small. The process is relatively simple, create a popup form and open that form from some event (probably a command button or an unbound label click event).

Use the Change (txtFilter_Change) event of the textbox on your popup form to modify the Filter property of the subform.  Syntax would look something like:
Private Sub txtFilter_Change()

     Forms!YourMainForm!subDatasheetControlName!Form.Filter = me.txtFilter.Text
     Forms!YourMainForm!subdatasheetControlName!Form.FilterOn = Len(me.txtFilter.Text) > 0

End Sub

Open in new window

Note the use of the .text extension in the change event.  The .value property of the control is the default, but it does not change until you hit enter, table out of the control, or click on some other control.  The only time you can refer to the .text property of the control is when that control has the focus.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
SteveL13Author Commented:
Excellent advise and solution.  Thank you.
Dale FyeOwner, Developing Solutions LLCCommented:
glad to help
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.