Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crystal OCX - Group Tree and export button

Status
Not open for further replies.

sultan123

Technical User
Nov 11, 2003
28
GB
Thank you all in advance..

I have just started using crystal ocx in VB

I got the following report Last Year's Sales.rpt which i display.

However, AT RunTime

1) I want to disable Group Tree.
2) I want export button hidden.
3) Assign a Title

For 1 i can only see the following which carry the name Group


crp1.GroupCondition
crp1.GroupSelectionFormula
crp1.GroupSortFields

crp1 is the name of crystal component on the form.

For 3) I am able to assign the tittle but the when the report shows it has no title!

crp1.ReportTitle = "Xtreme Last Year's Sale"

I did also try to refresh the report without results.


crp1.Action = 1


Would you give some guidanc on this?

thanks
 

I don't think you can disable the Group tree and export buttons, only hide them:


crp1.WindowShowExportBtn = False
crp1.WindowShowGroupTree = False



Mark

"You guys pair up in groups of three, then line up in a circle."
- Bill Peterson, a Florida State football coach
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top