Senin, 01 Februari 2016

Re: Re: [MS_AccessPros] Filter Problem with amount


That works great! Thanks a lot!
Best Regards,

Date: 2016-02-01 21:11
Subject: Re: [MS_AccessPros] Filter Problem with amount


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, Author
Microsoft Access 2010 Inside Out
Microsoft Access 2007 Inside Out
Microsoft Access 2003 Inside Out
Building Microsoft Access Applications 
SQL Queries for Mere Mortals 
(Paris, France)

On Feb 1, 2016, at 8:59 AM, '' [MS_Access_Professionals] <> wrote:

Dear All,
The filter I use doesn't work. Please help.
Me.Filter = "Amount=" & Me.Amount01

The amount is a fixed currency field. What did I do wrong? Thanks in advance.
Best Regards,


Posted by: "" <>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (3)



Tidak ada komentar:

Posting Komentar