discover142
Technical User
i have two update query that runs dynamically.
Query1 -> Query2.
Query1 gathers sum amounts from other tables.
tbl_master.CashedAmt = Dsum(value1) + Dsum(value2) etc.
where both values are from different table.
tbl_master.Original amount is recorded by user.
Query2, is a simple update query
[OriginalAmt] - [CashedAmt]
I think Query2 is working fine but because Query1 is returning blank values when there's no value to collect from other tables. I've tried setting default value of CashedAmt to "0" but still no luck..
I think if i can get it to return 0 instead of null will fix this problem...
any idea how i can fix this problem?
Query1 -> Query2.
Query1 gathers sum amounts from other tables.
tbl_master.CashedAmt = Dsum(value1) + Dsum(value2) etc.
where both values are from different table.
tbl_master.Original amount is recorded by user.
Query2, is a simple update query
[OriginalAmt] - [CashedAmt]
I think Query2 is working fine but because Query1 is returning blank values when there's no value to collect from other tables. I've tried setting default value of CashedAmt to "0" but still no luck..
I think if i can get it to return 0 instead of null will fix this problem...
any idea how i can fix this problem?