G
Guest
Hello all,
I am using access 97. I seem to have a problem when using a parameter in
the query criteria and would like to know if this is a bug, or am I doing
something wrong. What is happening is I get no data if I use the parameter,
but if I go inside the query and add the container number I get data. The
field is a 20 char, text.
Here is the code I’m using.
This will not work:
SELECT VIAWARE_WCS_TO_VIA_T.CONT, VIAWARE_WCS_TO_VIA_T.NEST_TO_CONT
FROM VIAWARE_WCS_TO_VIA_T
WHERE (((VIAWARE_WCS_TO_VIA_T.CONT)=[Container Number]));
But this will.
SELECT VIAWARE_WCS_TO_VIA_T.CONT, VIAWARE_WCS_TO_VIA_T.NEST_TO_CONT
FROM VIAWARE_WCS_TO_VIA_T
WHERE (((VIAWARE_WCS_TO_VIA_T.CONT)="000654035500"));
Is it a bug, or something I’m doing
I am using access 97. I seem to have a problem when using a parameter in
the query criteria and would like to know if this is a bug, or am I doing
something wrong. What is happening is I get no data if I use the parameter,
but if I go inside the query and add the container number I get data. The
field is a 20 char, text.
Here is the code I’m using.
This will not work:
SELECT VIAWARE_WCS_TO_VIA_T.CONT, VIAWARE_WCS_TO_VIA_T.NEST_TO_CONT
FROM VIAWARE_WCS_TO_VIA_T
WHERE (((VIAWARE_WCS_TO_VIA_T.CONT)=[Container Number]));
But this will.
SELECT VIAWARE_WCS_TO_VIA_T.CONT, VIAWARE_WCS_TO_VIA_T.NEST_TO_CONT
FROM VIAWARE_WCS_TO_VIA_T
WHERE (((VIAWARE_WCS_TO_VIA_T.CONT)="000654035500"));
Is it a bug, or something I’m doing