I have an Oracle 7x table linked to an Access 97 database. I am trying
to write a parameter query but can't seem to get it to work.
When I explicitly specify the parameter in the query it works fine.
Something like this:
[color=blue]
> SELECT *
> FROM MYTABLE
> WHERE ACC_NUM = 'XYZ123' ;[/color]
The following returns no rows:
[color=blue]
> PARAMETERS ACCOUNT Text;
> SELECT *
> FROM MYTABLE
> WHERE ACC_NUM = CHR(39) & [ACCOUNT] & CHR(39);[/color]
Does anyone have pointers on this? Thanks in advance.
--
Smartin
to write a parameter query but can't seem to get it to work.
When I explicitly specify the parameter in the query it works fine.
Something like this:
[color=blue]
> SELECT *
> FROM MYTABLE
> WHERE ACC_NUM = 'XYZ123' ;[/color]
The following returns no rows:
[color=blue]
> PARAMETERS ACCOUNT Text;
> SELECT *
> FROM MYTABLE
> WHERE ACC_NUM = CHR(39) & [ACCOUNT] & CHR(39);[/color]
Does anyone have pointers on this? Thanks in advance.
--
Smartin
Comment