G
Guest
I am storing a value from text box to a variable . and Now I have to pass this value in Query of MSAccess ( SQL View )
on Command button I have written
This Code is written in the FOR
query = "Name = 'vijay'
stDocName = "Detail_query
DoCmd.OpenQuery stDocName, 1, query ( passing the value name = " Vijay" in query
and In Detail_ Query I have written
SELECT
FROM details where [form].[query]
Can anyone guide me in what Code should be written as I am getting an error in form Type MISMATCH
I would highly appreciate in someone can help me
Thanks in Advance for all who have to tried to get this solve.
on Command button I have written
This Code is written in the FOR
query = "Name = 'vijay'
stDocName = "Detail_query
DoCmd.OpenQuery stDocName, 1, query ( passing the value name = " Vijay" in query
and In Detail_ Query I have written
SELECT
FROM details where [form].[query]
Can anyone guide me in what Code should be written as I am getting an error in form Type MISMATCH
I would highly appreciate in someone can help me
Thanks in Advance for all who have to tried to get this solve.