ACE 报告可以在 I4GL 表格中执行吗?
我想在 I4GL 表单中的环形菜单中添加“打印票证”命令,以便当我的用户按转义键更新交易行时,他们可以从环形菜单中选择“打印票证”命令进行打印当前行与 ace 报告一起显示,无需退出表单。我还希望任何查询的事务行都有这种打印功能,无论它是否已更新。这可以用 I4GL 表格来完成吗?
I would like to add a "Print-Ticket" command to the ring menu in my I4GL Form so that when my users hit the escape key to update a transaction row they can select the "Print-Ticket" command from the ring menu to print the current row being displayed with an ace report, without exiting the form. I would also like this print capability for any queried transaction row whether it has been updated or not. Can this be done with I4GL forms?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是
'
COMMAND "Print-Ticket"
' 的操作块可以调用驱动 I4GL 报告的函数(或者,实际上,它可以通过 RUN 语句执行 ACE 报告)。理论上,您可以在操作块中编写驱动报告的函数体,但这将是滥用语言的邪恶方式;使用函数要好得多。如果您为该函数提供一个参数来标识要打印的票据,则只需使用正确的票据编号来调用它即可 - 无论 I4GL 函数是否已更新,都无关紧要。Yes
The action block for '
COMMAND "Print-Ticket"
' can invoke a function which drives an I4GL report (or, indeed, it can execute an ACE report via the RUN statement). In theory, you could write the body of the function that drives the report in the action block, but that would be a diabolical way of abusing the language; it is much better to use a function. If you give the function an argument identifying the ticket to be printed, it just needs to be invoked with the correct ticket number - it does not matter whether to the I4GL function whether it has been updated or not.