Hi
I am using crystal reports 10
In the data expert section,
I am fetching the data from backend table
using a command
I need to fetch all the employees based on a divisioon number which I give as a parameter
The query which I am giving is
select * from emp where div_no = '{?div_no}'
where ?div_no is the parameter field
This works good div_no in database is a string field
But this query fails if the div_no in data base is number
I tried this query , but this is not working
select * from emp where div_no = {?div_no}
Can some one please help
Thanks
I am using crystal reports 10
In the data expert section,
I am fetching the data from backend table
using a command
I need to fetch all the employees based on a divisioon number which I give as a parameter
The query which I am giving is
select * from emp where div_no = '{?div_no}'
where ?div_no is the parameter field
This works good div_no in database is a string field
But this query fails if the div_no in data base is number
I tried this query , but this is not working
select * from emp where div_no = {?div_no}
Can some one please help
Thanks