S
SupperDuck
Hi all.
I want to make a query. My query works. But when i wanto take max of the
three columns, it gives some errors (works but not with errors).
My query is like this.
http://img399.imageshack.us/img399/9467/myquery1oc.jpg
The column in red box is where i want to calculate and the pink ones, are
the elements of the query. And my function is like;
Kum Program:
IIf(NZ([BAKIYE_FORECAST]![FORECAST_PRG])>(NZ([BAKIYE_KUMPRG_SHIP_DATEMAX]![QT_CUMPROGRAM]));IIf(NZ([BAKIYE_FORECAST]![FORECAST_PRG])>(NZ([830
PROGRAMLARI]![830 KUM PRG]));(NZ([BAKIYE_FORECAST]![FORECAST_PRG]));(NZ([830
PROGRAMLARI]![830 KUM
PRG])));IIf(NZ([BAKIYE_KUMPRG_SHIP_DATEMAX]![QT_CUMPROGRAM])>(NZ([830
PROGRAMLARI]![830 KUM
PRG]));(NZ([BAKIYE_KUMPRG_SHIP_DATEMAX]![QT_CUMPROGRAM]));(NZ([830
PROGRAMLARI]![830 KUM PRG]))))
When i run the query it gives an error (or lets say an input box, but it’s
an error for me ïŠ)like;
http://img399.imageshack.us/img399/5414/error18qt.jpg
and then this;
http://img283.imageshack.us/img283/9885/error24gy.jpg
And my query works when i click on ok.
But, when i don’t use this column, i mean when i don’t try to get the max of
the columns, columns forecast_prog and kum_prg have non zero items, but when
i start using the functions all of the cells in that two columns are zero.
I wonder why?
And how can i solve this?
Thanx a lot...
I want to make a query. My query works. But when i wanto take max of the
three columns, it gives some errors (works but not with errors).
My query is like this.
http://img399.imageshack.us/img399/9467/myquery1oc.jpg
The column in red box is where i want to calculate and the pink ones, are
the elements of the query. And my function is like;
Kum Program:
IIf(NZ([BAKIYE_FORECAST]![FORECAST_PRG])>(NZ([BAKIYE_KUMPRG_SHIP_DATEMAX]![QT_CUMPROGRAM]));IIf(NZ([BAKIYE_FORECAST]![FORECAST_PRG])>(NZ([830
PROGRAMLARI]![830 KUM PRG]));(NZ([BAKIYE_FORECAST]![FORECAST_PRG]));(NZ([830
PROGRAMLARI]![830 KUM
PRG])));IIf(NZ([BAKIYE_KUMPRG_SHIP_DATEMAX]![QT_CUMPROGRAM])>(NZ([830
PROGRAMLARI]![830 KUM
PRG]));(NZ([BAKIYE_KUMPRG_SHIP_DATEMAX]![QT_CUMPROGRAM]));(NZ([830
PROGRAMLARI]![830 KUM PRG]))))
When i run the query it gives an error (or lets say an input box, but it’s
an error for me ïŠ)like;
http://img399.imageshack.us/img399/5414/error18qt.jpg
and then this;
http://img283.imageshack.us/img283/9885/error24gy.jpg
And my query works when i click on ok.
But, when i don’t use this column, i mean when i don’t try to get the max of
the columns, columns forecast_prog and kum_prg have non zero items, but when
i start using the functions all of the cells in that two columns are zero.
I wonder why?
And how can i solve this?
Thanx a lot...