p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

crystal_reports thread: Help me its urgent


Message #1 by "suniltphilip" <suniltphilip@i...> on Sat, 15 Dec 2001 10:25:04 +0530
--=_MAILER_ATTACH_BOUNDARY1_200112156102541892066601

Content-Type: text/plain; charset=us-ascii



Hi,





I have a customize screen in vb which enables user to select fields from the database.i need crystal report to display that selected
fields alone.If possible help me with some sample codes. Its a bit urgent.





thanks





sunil

Get Your Private, Free E-mail from Indiatimes at  http://email.indiatimes.com

Buy Music, Video, CD-ROM, Audio-Books and Music Accessories from http://www.planetm.co.in






Message #2 by "Michel Medawar" <mmedawar@t...> on Sat, 15 Dec 2001 08:38:07 +0200
This is a multi-part message in MIME format.



------=_NextPart_000_005A_01C18543.D1BB4A60

Content-Type: text/plain;

	charset="iso-8859-1"

Content-Transfer-Encoding: quoted-printable



Hi sunil



Follow the instructions pls:



1) First you have to create a boolean parameter

for every field you want to show/hide in the crystal report.

open the report in design view, go to the menubar select

insert--> parameter field --> click the new button in the

opened window and create a parameter let's say called

blnField1 and boolean for the value type.



2) Now goto the field you want to show/hide, right click

on it, and choose "format field", in the opened window,

in the common page, you have a property "Suppress",

check it, and click on the button at the right of the

supress check box, in the opened window write this

code: If blnField1 =3D False then True



3) now in your VB form you have to define the parameter

you just add in to the crystal report, upon the checked

fields.



hope that helps.



Regards, Michel Medawar





  ----- Original Message -----

  From: suniltphilip

  To: crystal_reports

  Sent: Saturday, December 15, 2001 6:55 AM

  Subject: [crystal_reports] Help me its urgent





  Hi,



  I have a customize screen in vb which enables user to select fields 

from the database.i need crystal report to display that selected fields 

alone.If possible help me with some sample codes. Its a bit urgent.



  thanks



  sunil





-------------------------------------------------------------------------

-----

  Get Your Private, Free E-mail from Indiatimes at 

http://email.indiatimes.com

  Buy Music, Video, CD-ROM, Audio-Books and Music Accessories from 

http://www.planetm.co.in --- 

http://p2p.wrox.com/manager.asp or 

$subst('Email.Unsub').







  Return to Index