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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi Team I have to maintain an VB a

Status
Not open for further replies.

freewilly

Programmer
Feb 19, 2001
43
AU
Hi Team
I have to maintain an VB app that uses Crystal formulas in a strange way.
The reports have formulas Stating with 'PASS_' eg PASS_Grouping. All it has in it is the following

//Type = NumberCombo
//Caption = Select Grouping
//Add = 1,Contact - Contact Group
//Add = 2,Contact Group - Contact
//Default = 1
1

The app then seems to read this and presents the user with a combo box with the caption 'Select Grouping' and this become part of the selection criteria for the report.

Does anyone know how this is done? Or has anyone seen this done before?


 
freewilly: It looks to me as if the programmer set up to have 2 alternative groups available in the report at runtime. I assume that you will find the PASS_Grouping field is used in the report definition to drive grouping and the VB code probably resets the formula to have a value of 2 if you want Contact Group followed by Contact rather than the default 1 if you want Contact followed by Contact Group. Suggest you look in the code for SelectionFormula code David C. Monks
david.monks@chase-international.com
Accredited Seagate Enterprise Partner
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top