T tmyers Well-known member Local time Today, 13:05 Joined Sep 8, 2020 Messages 1,091 Oct 23, 2020 #1 What would be the correct expression to have a field in a query be Null rather than show 0? On a form that uses the query as a control source, i tried setting fields default value to null, but it doesnt work.
What would be the correct expression to have a field in a query be Null rather than show 0? On a form that uses the query as a control source, i tried setting fields default value to null, but it doesnt work.
T tmyers Well-known member Local time Today, 13:05 Joined Sep 8, 2020 Messages 1,091 Oct 23, 2020 #2 Can ignore. I found the issue within the table that fixes the problem.
Isaac Lifelong Learner Local time Today, 10:05 Joined Mar 14, 2017 Messages 11,454 Oct 24, 2020 #3 Ok. But could use an iif statement, or: Code: Test: Switch([ColumnName]=0,Null)
P Pat Hartman Super Moderator Staff member Local time Today, 13:05 Joined Feb 19, 2002 Messages 47,644 Oct 24, 2020 #4 Formatting such as this is best done on the form or report. Doing this in the query, will make the field not updateable.
Formatting such as this is best done on the form or report. Doing this in the query, will make the field not updateable.