报告开幕 [英] Report Opening
问题描述
i有一个有两个按钮的表格......................
一个按钮打开一个带有组合框的表单..............这个组合框有一个用户名列表(从表中)........选择用户名时,会显示包含用户详细信息的报告。
其他按钮打开所有用户的报告...........
我遇到的问题是...当它打开报告时,无论是从组合框还是直接从按钮.....报告显示在所有表格后面......我有关闭表单以查看报告............ y是那个?
如果我从组合框中选择,我必须关闭实际查看或访问报告的组合框屏幕???? :(
i have a form that has two buttons......................
one button opens a form with a combobox.............. this combobox has a list of usernames(from the table)........ When selecting a username, it brings up a report with the users details.
the other button opens a report of all users...........
THE PROBLEM that i have is... when it opens the report whether from the combobox or directly from a button..... the report is displayed behind the all the forms.. i have to close down the forms to view the report...........y is that?
and also if i select from the combobox, i must close down the combobox screen to actually view or access the report????:(
推荐答案
尝试将这行代码添加到报告的OnOpen事件过程中:
Try adding this line of code to your report''s OnOpen event procedure :
如果这没有帮助你必须有一些代码在你的项目中(在显示报告后运行)再次选择表格并将其带到前面。
If that doesn''t help you must have some code in your project (running after the report is displayed) that selects the form again and brings it to the front.
你可以向我解释一下这段代码吗?
即时为我的组合框使用以下代码:
can you explain that code to me?
im using the following code for my combobox:
这篇关于报告开幕的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!