I have created a report from a parameter query in access. i want to open that report in the vb. i have opened the normal reports of access in vb but i do not know that how to open parmeterized report of access in vb. please help me in that matter
you can let your user to enter values in comboboxes,textboxes,listboxes etc...
I think you just cant display the Parameterized Report from VB
Maybe i'm wrong,but i changed my Parameterized Report to a Regular select Report and used the Where condition.
Hello SHIVPREET2K1,
When i wrote "Select Report" i ment a regular SQL sentence for e.g:
SELECT *
FROM TABLE_NAME
WHERE FIELD_NAME = SOMTHING
Or much more simple:
SELECT *
FROM TABLE_NAME
insted of parameterized query you will have the same query without asking for parameters, you will send the [Where Condition] from vb to access and you will get the same results.
Hello SHIVPREET2K1,
Here is a small example, i hope that will do!
1)Place the biblio.mdb in C:\
2)if you'll open the mdb you will see a query called "All Titles" as a base for "rptAuthors".
3)from the vb program i call the "rptAuthors" with WHERE CONDITION.
Best Regards,
ERAN
Last edited by eranfox; Sep 5th, 2005 at 05:08 PM.
Reason: CANNOT ATTACH THE ZIP FILE