Results 1 to 4 of 4

Thread: Changing a picture in the report header

  1. #1

    Thread Starter
    Frenzied Member TheBionicOrange's Avatar
    Join Date
    Apr 2001
    Location
    Cardiff, UK
    Posts
    1,818

    Question Changing a picture in the report header

    Hello all.

    Firstly .. I am a complete noob to Crystal Reports, so not sure if this is an easy question or not. I'm using version 9.

    I have a report that has a logo in the page header area.
    When a field changes a value in a group header I have got, I want the picture to change accordingly, i.e. If value in group header = '01' then show picture A, if value in group header switches to '02' then show picture B etc etc.

    Can I do this ?
    I've been trying all afternoon, and have looked here and googled it, but can't find anything that helps.
    Like I said, I only started Crystal Reports today, so if this IS something easy then please excuse my ignorance.

    Any help much appreciated .....

  2. #2
    Frenzied Member pnish's Avatar
    Join Date
    Aug 2002
    Location
    Tassie, Oz
    Posts
    1,918

    Re: Changing a picture in the report header

    Never tried it myself, but see if this link helps:
    http://support.businessobjects.com/l...s/c2004336.asp

    The Crystal KB is a great resource... check it out at
    http://support.businessobjects.com/s....asp_shortcuts
    Pete

    No trees were harmed in the making of this post, however a large number of electrons were greatly inconvenienced.

  3. #3

    Thread Starter
    Frenzied Member TheBionicOrange's Avatar
    Join Date
    Apr 2001
    Location
    Cardiff, UK
    Posts
    1,818

    Re: Changing a picture in the report header

    Thanks for that pnish.

    I tried one of those links as it supplied an example vb app that plays with cr reports.
    Trouble is the zip file didn't come with "crviewer.dll", and this seems to be integral to making the thing work.
    For some weird reason I am having trouble finding it when I google too ?!?!

  4. #4

    Thread Starter
    Frenzied Member TheBionicOrange's Avatar
    Join Date
    Apr 2001
    Location
    Cardiff, UK
    Posts
    1,818

    Re: Changing a picture in the report header

    Well after a bit of research it seems I can do it.
    I need to have a BLOB on my report, and pass the relevant picture from a database.
    Now .... my next question is ... how on earth do I store/retrieve images from a SQL Server database ?
    I can create a table OK, and I can define a field as "Image" type, but I was expecting to haev to enter a pathname for the location of the image. Seems you store the image actually in the db, and I get the feeling I am going to need some kind of script to actually store/retrieve them.

    Anyone able to throw any more light on this ?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width