Sage MAS 90 and 200 Sage MAS 500 blogs Product Feedback Support Training
Reply
Super Contributor
rmikolainis
Posts: 1,252
Registered: 10-29-2008
0
Accepted Solution

Inventory Item pictures into Crystal Reports

Is there a way to insert the pictures associated with an inventory item into a Crystal Report? I tried using the OLE Object in Crystal with a formula for the ImageFile field in the CI_Item table. Any push in the correct way to do this would be a helpful, thanks!!!

Super Contributor
rmikolainis
Posts: 1,252
Registered: 10-29-2008
0

Re: Inventory Item pictures into Crystal Reports

Mental Note: Make sure to have at least my first cup of coffee before posting.

 

I figured it out, I needed to make a formula to where the image file is located and add the imagefile field to that formula then.

 

Working perfect.

Super Contributor
connex
Posts: 795
Registered: 10-29-2008
0

Re: Inventory Item pictures into Crystal Reports

What version Crystal are you using?  I believe this i a new feature that only works with version 11.

Dan Burleson
Sage Authorized Consultant - Ask me about advanced scripting!
e-mail me here
Super Contributor
rmikolainis
Posts: 1,252
Registered: 10-29-2008
0

Re: Inventory Item pictures into Crystal Reports


connex wrote:

What version Crystal are you using?  I believe this i a new feature that only works with version 11.


Version XI , for 4.40.

 

I unchecked the "can grow" also. Made the report look a lot nicer. It just squishes the image if its too big though.

 

Any better tip for controlling the image size?

Super Contributor
connex
Posts: 795
Registered: 10-29-2008
0

Re: Inventory Item pictures into Crystal Reports

If there is ever the chance that a record will not have a corresponding image file, then the image that you inserted initially will be display.  This allows one to use an "Image Not Available" graphic for this situations.

Dan Burleson
Sage Authorized Consultant - Ask me about advanced scripting!
e-mail me here
Regular Contributor
photo7589
Posts: 114
Registered: 11-02-2008
0

Re: Inventory Item pictures into Crystal Reports

Hi Guys

This dynamic picture in Crystal 11 seems to be a great solution to a maxed out Access Database.  However I'm having some issues getting this to work.

 

I am trying to add the pictures to the Sales Order Printing form.  I inserted an OLE Object and 'create from file' choosing the ABC Company Logo (temporarily using this to show if there isn't a picture for the item).  After inserting this object, I right clicked, format graphic, picture tab, graphic location, conditional button.

 

It is here I run into problems unless I've missed something in my above process.  What is the formula to set the path to the images and reference the CI_Item.ImageFile field.

 

I would also like to add a second picture for the same item.  In MAS we utilized the Alias Item (General Alias, same item # with an A behind it) and in the Access DB, we had a field for the Alias Item and the pix was named the same way (with an A behind the number).  If I could get a second ImageFile field put on my IM Maintenance or into the Alias Item table, do you think it would work to follow the same steps but reference either the ImageFile2 field or Alias Item ImageFile (custom programmed).  Do you have any other ideas to solve this second picture problem?

 

Thanks

Nancy

 

 

Super Contributor
rmikolainis
Posts: 1,252
Registered: 10-29-2008
0

Re: Inventory Item pictures into Crystal Reports

Nancy,

The formula I used is simply "file location" + CI.Item  , so, mine looks like this:

 

"C:\MAS Installs\Testing\MAS90\Images\ABC\" + {CI_Item.ImageFile}

 

Regular Contributor
photo7589
Posts: 114
Registered: 11-02-2008
0

Re: Inventory Item pictures into Crystal Reports

You rock!

Thank you so much, you have just made my Thanksgiving!!

Nancy

Sage MAS Partner
bdelgado
Posts: 15
Registered: 03-31-2010
0

Re: Inventory Item pictures into Crystal Reports

I tried using the OLE Object and updated the path and it just shows a little dot on the printed order not the image. What am I doing wrong?

Sage MAS Partner
DHANSEN9
Posts: 31
Registered: 04-02-2009
0

Re: Inventory Item pictures into Crystal Reports

My client is still on 4.30, so they are on crystal 10.  Has anyone gotten the picture to pull in in crystal 10.  I see the suggestion to pull in a picture and then go to Format graphic, Picture Tab, then Graphic loation, but that does not exist in crystal 10 for version 4.30.  Anyone able to get that to work in crystal 10?