John-
That works great! Thanks a lot!
Best Regards,
Kevin
Date: 2016-02-01 21:11Subject: Re: [MS_AccessPros] Filter Problem with amountKevin-
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, 'zhaoliqingoffice@163.com' zhaoliqingoffice@163.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: "zhaoliqingoffice@163.com" <zhaoliqingoffice@163.com>
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (3) |
.
__,_._,___
Tidak ada komentar:
Posting Komentar