Neven MacEwan wrote:
Peter
If you are battling with Parameters I'd drop them completely (They are a pain) What we use (And I won't take credit here, I borrowsed it from another app) is formulae with the input config in comments, you give the formula a name that shows it as an input
ie a formula might be called PASS_Period (where PASS_ indicates it is an input) and the text of the formula would be
//TYPE = NUMBERCOMBO //CAPTION = Select Period No //ADD =1,Period 01 //ADD =2,Period 02 //ADD =3,Period 03 //ADD =4,Period 04 //ADD =5,Period 05 //ADD =6,Period 06 //ADD =7,Period 07 //ADD =8,Period 08 //ADD =9,Period 09 //ADD =10,Period 10 //ADD =11,Period 11 //ADD =12,Period 12 //DEFAULT=1 1
It is then relatively simple to parse the report formulae and build your own input form, and you can create your own input types, ie checkboxes, combos, datepickers etc, you are not limited by the Crystal Parameter input form, as an side writing the reports is simpler as you can have persistent values without the endless inputting
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
