That works great! Thanks a lot!
Kevin-When you concatenate a currency amount in a string, it'll include the currency symbol, so that's the problem. You need to do something like:Me.Filter = "Amount = " & Format(Me.Amount01, "0.00")Include four decimal places if this is a true Currency data type.John Viescas, AuthorMicrosoft Access 2010 Inside OutMicrosoft Access 2007 Inside OutMicrosoft Access 2003 Inside OutBuilding Microsoft Access ApplicationsSQL Queries for Mere Mortals(Paris, France)
On Feb 1, 2016, at 8:59 AM, 'firstname.lastname@example.org' email@example.com [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com> wrote:Dear All,The filter I use doesn't work. Please help.Me.Filter = "Amount=" & Me.Amount01The amount is a fixed currency field. What did I do wrong? Thanks in advance.Best Regards,Kevin
Posted by: "firstname.lastname@example.org" <email@example.com>
|Reply via web post||•||Reply to sender||•||Reply to group||•||Start a New Topic||•||Messages in this topic (3)|