将参数传递给ms访问报告 [英] Passing Parameters to the ms access Reports

查看:72
本文介绍了将参数传递给ms访问报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

先生您好,

我有一个MS-access应用程序,我必须在其中生成报告.我已经生成了简单报告,但是我不希望有什么Advance.like,例如传递参数以及报告应该生成的参数.当我按客户选择或按订单选择时,将有一个组合框,以下报告应显示...



谢谢与问候

Vasu Hajare

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

推荐答案

ComboBox u更新选项后,请转到事件选项卡中的属性,然后定义代码类似.

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

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


这篇关于将参数传递给ms访问报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆