Click here to Skip to main content
15,900,378 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello sir,

I have an MS-access application in which i have to generate reports .I have generated Simple Reports But i want little advance.like passing parameters and on the parameters the reports should generate.Eg . There will be one combo box when i will select by customers ,or by orders the below reports should display...



Thanks & Regards

Vasu Hajare
Posted

1 solution

ComboBox u Should go to properties in event tab , after update option Define the Code Like.

VB
Private Sub Combo0_AfterUpdate()
    DoCmd.OpenReport "Your Report Here Name ", acViewPreview
End Sub
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900