Hi all,
I am getting one problem with parameterized queries in Ms access
I built one parameterized query in Ms access as follows
PARAMETERS Proj Text ( 30 );
SELECT DISTINCT LEFT(PROJ_ID,13), PROJ_NAME
FROM Multiplier
WHERE PROJ_ID Like [Proj] & "*";
When I run this query it returns the correct result
I am giving name this query to Query1
In my frontend application I am calling this as
dim dataadapter=new dataadapter("Execute query1 " & parametervalue & "",con)
dataadapter.fill(ds,"TableName")
When I see the count of my dataset it retuns 0 rows.
I cannt understand what is going to be wrong
If anyone knows the solution to this , please provide me
Its very urgent
Thanks in advance
I am getting one problem with parameterized queries in Ms access
I built one parameterized query in Ms access as follows
PARAMETERS Proj Text ( 30 );
SELECT DISTINCT LEFT(PROJ_ID,13), PROJ_NAME
FROM Multiplier
WHERE PROJ_ID Like [Proj] & "*";
When I run this query it returns the correct result
I am giving name this query to Query1
In my frontend application I am calling this as
dim dataadapter=new dataadapter("Execute query1 " & parametervalue & "",con)
dataadapter.fill(ds,"TableName")
When I see the count of my dataset it retuns 0 rows.
I cannt understand what is going to be wrong
If anyone knows the solution to this , please provide me
Its very urgent
Thanks in advance