How to pass value at run time from VB 6 to Access 2000 Query for reporting

155 pts.
Tags:
Access
Access 2002
Query
Query tuning
VB
VB 6
Visual Basic 6
Visual Basic developers
Visual Basic for Applications
I have developed a sall application. Data is in Access 2002, Development is in VB 6. For reporting I have designed Queries, using the queries I have designed the reports. It works fine. While run time I accepts the criteria or value from user, based on that I have to show reports. My question is how to pass the accepted values or criteria to the Queries and Reports in Access. For example, I have a table 'Author' like... Code Name Address NoOfBooks ------ ------- ---------- -------------- 001 ABC 102, aaa 20 002 DEF 203, bbb 57 003 GHI 304, ccc 60 004 JKL 405, ddd 15 . . . . . . . . . . . . I have a query 'QryAuthor' like... Select * from AUTHOR where NoOfBooks >= 50; But at run time user may want to see all authors who have written more than 100 books, then how to pass the value 100 from VB to Access

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following