Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

No records unless sorted?? 1

Status
Not open for further replies.

Recordsetclown

Technical User
Jul 12, 2002
64
US
I am trying to re-design a form that previously used radio buttons to filter the records displayed. I have removed all the filter code, but the modified form opens with no records displayed. However, if I select sort from the menu options, all records become visible and the modified form works as it should from that point on. How can I get it to open with all records displayed? Thanks.

Jeff
 
do you have a me.visible = false code in the OnOpen event procedure?
 

On the On Open event procedure for your form, insert the following code:

Code:
Private Sub Form_Open(Cancel As Integer)

    DoCmd.ShowAllRecords

End Sub

Judge Hopkins

"...like hunting skunks underwater...."
John Steinbeck, The Grapes of Wrath
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top