What results did you get from:
DoCmd.OpenForm "TrackingSpreadsheet", , "", "LookingID = " & Me.LookingID
I would remove the "" from after the second comma.
Duane Hookom
MS Access MVP
--- In MS_Access_Professionals@yahoogroups.com, mrsgoudge <no_reply@...> wrote:
>
> 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
>
Rabu, 28 Desember 2011
[MS_AccessPros] Re: Open a form without a filter that is in the code upon loading
__._,_.___
MARKETPLACE
.
__,_._,___
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar