cancel
Showing results for 
Search instead for 
Did you mean: 

Image From UFL

Former Member
0 Kudos

Hello again

I have again some question:

Is it possible to return a Image from created UFL? I tried Image, Bitmap, PictureBox...but if I use it in my interface, my UFL will not found by crystal reports.....

It seems, that just string, integer, double, bool will be accept?

I dont want use dataset, because to much tables in each report....

is it possible?

thank you in advance

Steven

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Thats a great way to work around it. Thank you for posting your solution.

Answers (1)

Answers (1)

0 Kudos

Hi Steven,

You are correct. UFL's were orginally designed to allow users to create their own customer functions in formulae. OLE Objects can not be use in a formula, you can't get details from them, so that functionality was never built in.

What is it you are trying to do? Possibly there is a work around for you.

You may want to search the Crystal Reports Forum also, they deal with OLE Objects by design.

Thank you

Don

Former Member
0 Kudos

Hi Don,

its little bit complicated to explain what I want

I want create a function where I can set as parameter a path to a image, and my reportprint out the image.

I know that I can use databasefields with typeimage directly in report.

But I have already a workaround: I seach in my function (in theUFL) my image, which I want use (set as parameter) and cpy it a temporay table which has a ImageColumn, this Table I use now in Report, before this I call my function to fill Tmp Table.

Its ok for me, but I thnk its better to get image as a type...

thank you

Steven