Rabu, 28 Desember 2011

[MS_AccessPros] Open a form without a filter that is in the code upon loading

 

Good morning/afternoon :-) again. I have a filter by form TrackingSpreadsheet that in its load event has a couple of the filter boxes filled. I would like to open that form without the filter and add a where condition. I have tried:
DoCmd.OpenForm "TrackingSpreadsheet", , "", "LookingID = " & Me.LookingID

Is the only way to do this?
DoCmd.OpenForm "TrackingSpreadsheet"
Forms!TrackingSpreadsheet.Filter = ""
DoCmd.GotoControl LookingID
DoCmd.GoToRecord "LookingID = " & Me.LookingID

thanks!
Connie

__._,_.___
Recent Activity:
MARKETPLACE

Stay on top of your group activity without leaving the page you're on - Get the Yahoo! Toolbar now.

.

__,_._,___

Tidak ada komentar:

Posting Komentar