如何在datareport中隐藏文本框? [英] How can I hide a textbox in datareport?

查看:125
本文介绍了如何在datareport中隐藏文本框?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

有人可以告诉我如何在VB6的数据报告中隐藏文本框吗?

非常感谢.

Hello,

Can somebody tell me how to hide the textbox in a datareport in VB6?

Thank you so much.

推荐答案

我接触VB 6已经快5-6年了,所以我不知道这可能吗?但是您可以将空字符串传递到要隐藏的相应字段.在VB 6中使用IIF函数.

例如,您只能根据条件显示文本框.否则将显示空白字符串(表示隐藏).
It''s almost 5-6 years I have touched VB 6 so I don''t know is that possible? But you can pass empty string to the appropriate field which you want to hide.Use IIF function in VB 6.

For example you can display the textbox only based on condition. Otherwise it will display the blank string(which means hide).
Result = IIf(Mark > 75, "DISTINCTION", "")


这篇关于如何在datareport中隐藏文本框?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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