Dale, here's the query:
SELECT [PSCP BT no nd sub].Works_num, [PSCP BT no nd sub].Works_name, [PSCP
BT no nd sub].Srce_type, [PSCP BT no nd sub].Srce_type2, [PSCP BT no nd
sub].Srce_name2, [PSCP BT no nd sub].BT_SCP, [PSCP BT no nd sub].Test_code2,
[PSCP BT no nd sub].Parameter, [PSCP BT no nd sub].PSCP, [PSCP BT no nd
sub].Res_ct, Nz([Det_ct],-9999) AS Det_ct1, Nz([Det_rt],-9999) AS Det_rt1,
Nz([Tr_det_ct],-9999) AS Tr_det_ct1, Nz([Tr_det_rt],-9999) AS Tr_det_rt1,
Nz([Pos_det_ct],-9999) AS Pos_det_ct1, Nz([Pos_det_rt],-9999) AS Pos_det_rt1,
Nz([MIN],-9999) AS MIN1, Nz([PERC_25],-9999) AS PERC_251, Nz([PERC_50],-9999)
AS PERC_501, Nz([PERC_75],-9999) AS PERC_751, Nz([PERC_90],-9999) AS
PERC_901, Nz([MAX],-9999) AS MAX1
FROM [PSCP BT no nd sub];
Thanks,
Patrick
Dale Fye said:
Patrick,
It would help if we saw your query, . You may need to explicitly type some
of your computed fields. Something like:
SELECT clng(NZ([SomeField], 0)) as SomeInteger
you can use the clng( ), csng( ), and cdbl( ) functions for this.
HTH
Dale
--
Don''t forget to rate the post if it was helpful!
email address is invalid
Please reply to newsgroup only.
:
Some of the number fields (long integer, single and double formats) in my
query are being converted to text but this is not what I want. It so happens
that I used the Nz function to subsitute dummy values into these fields. Is
this what converted them to text or is it something else? I'm using Access
2003.
Thanks,
Patrick