How to change query empty field to "0"

  • Follow


Hello,
At the beginning forgive me at the bad English. I am a beginner in Access.

I'm working on a database that deals with records warehouse. To simplify the.


I have one query, for example query A, a query where the calculation of 50
items. This query A has sum by the code of materials. The second query is
composed of one few table and query A. But in this table is 60 items with the
calculations of other tables. The column, which is associated with a query
(sum: SumOfqueryA) has a problem. 50 fields have result, and 10 field is
blank because I have 50 results in QueryA.  How to change 10 blank fields in
to 0 . Query is uneditable.

I found a lot of instructions, but I failed to do. I need to change the blank
field at 0 If someone can explain where I need to write code.

Thank you very much and please help me

0
Reply dolino 4/18/2010 2:30:42 PM

On 18 apr, 16:30, "dolino" <u59449@uwe> wrote:
> Hello,
> At the beginning forgive me at the bad English. I am a beginner in Access=
..
>
> I'm working on a database that deals with records warehouse. To simplify =
the.
>
> I have one query, for example query A, a query where the calculation of 5=
0
> items. This query A has sum by the code of materials. The second query is
> composed of one few table and query A. But in this table is 60 items with=
 the
> calculations of other tables. The column, which is associated with a quer=
y
> (sum: SumOfqueryA) has a problem. 50 fields have result, and 10 field is
> blank because I have 50 results in QueryA. =A0How to change 10 blank fiel=
ds in
> to 0 . Query is uneditable.
>
> I found a lot of instructions, but I failed to do. I need to change the b=
lank
> field at 0 If someone can explain where I need to write code.
>
> Thank you very much and please help me

Instead of the field name write: Nz(FieldName,0)

Groeten,

Peter
http://access.xps350.com
0
Reply XPS350 4/18/2010 2:59:09 PM


Thanks for your help I solved my problem. The problem was in the
relationships of the tables. Stupid mistake.

Thank you again

-- 
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/Forums.aspx/access-queries/201004/1

0
Reply dolino 4/19/2010 6:21:38 AM

2 Replies
579 Views

(page loaded in 0.164 seconds)

Similiar Articles:
















7/28/2012 11:56:17 AM


Reply: