Hi, I have a report that shown Order's Price (PriceA & PriceB).
Sometime I need to hide PriceB Because it's not need to be seen in the report.
How can I Hide Field In run time??
Create a formula in CR, set the defaut to something like "0", and use it to suppress the field in question if the value = "1"
In VB, pass the desired value to the formula ("0" or "1!) [/b][/i][/u]*******************************************************
General remarks:
If this post contains any suggestions for the use or distribution of code, components or files of any sort, it is still your responsibility to assure that you have the proper license and distribution rights to do so!
If you are using the crystal OCX then pass it to the report after assigning the report name and before printing it:
Crpt1.Formulas(0)="HidePriceB='1'"
[/b][/i][/u]*******************************************************
General remarks:
If this post contains any suggestions for the use or distribution of code, components or files of any sort, it is still your responsibility to assure that you have the proper license and distribution rights to do so!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.