on 11-03-2009 4:56 AM
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
Thats a great way to work around it. Thank you for posting your solution.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.