Open to Null

  • Thread starter Thread starter alex
  • Start date Start date
A

alex

I have a searchable Form by means of a combo box...

When the Form opens, the same record always appears on the Form, no
matter how I sort the table.

Any advice/hints on how to format/code the Form so that no record
appears on the Form until the users selects a record in the combo box?

alex
 
Clear out the table sorting, it doesn't do anything except affect the table
view, and data needs to be view in forms or reports anyway. Reports have
their own filtering and sorting. Forms need a query to sort properly, i.e.
base your form on a query rather than on a table. The query can be a saved
query, or a select startement in the form's recordsource property:

Select * From MyTable Order By MyField;
 
Clear out the table sorting, it doesn't do anything except affect the table
view, and data needs to be view in forms or reports anyway. Reports have
their own filtering and sorting. Forms need a query to sort properly, i.e.
base your form on a query rather than on a table. The query can be a saved
query, or a select startement in the form's recordsource property:

Select * From MyTable Order By MyField;
--
Arvin Meyer, MCP, MVPhttp://www.datastrat.comhttp://www.mvps.org/accesshttp://www.accessmvp.com











- Show quoted text -

Thanks Arvin; I'll give it a try.

alex
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Open to null 7
Open main and sub form blank 1
FindRecord 2
Cascading ComboBox on SubForm 6
Combo Box 3
Combo Box and First Record 5
combo box filter 1
Parameter Query With Null Values 3

Back
Top