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

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

Thank you so much.
Posted
Updated 11-Nov-10 0:34am
v2

1 solution

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).
VB
Result = IIf(Mark > 75, "DISTINCTION", "")
 
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