Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

User Defined Function

Posted on 2006-11-01
8
Medium Priority
?
387 Views
Last Modified: 2008-03-10
I need to make a User Defined Function in Crystal Reports. How do i go about it?

It is basically a Figures to Words converter, but the towords() function does not satisfy Indian Currency units.

I have the function already being used in various projects in VB, can that be used here?

Kalrani
0
Comment
Question by:kalrani
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
8 Comments
 
LVL 23

Expert Comment

by:Ido Millet
ID: 17851607
You can create a UFL (User Function Library) based on your VB code.  See BO's tech support site for documents on how you crate a UFL using Visual Basic.

If you post the VB code here, I can test and let you know if it works well in a UFL (basically a question of arguments & return data types).

Cheers,
- Ido
0
 

Author Comment

by:kalrani
ID: 17852093
simple function

function figurestowords(amount as double) as string

...
...
....code here

return figurestowords 'returns the amount in words suitable for indian currency'

end function
0
 
LVL 23

Expert Comment

by:Ido Millet
ID: 17852115
Should work without a problem in a UFL.
0
Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

 

Author Comment

by:kalrani
ID: 17852306
Could you point to the correct Tech support page of Business Objects it is readily available with you.
0
 
LVL 23

Accepted Solution

by:
Ido Millet earned 252 total points
ID: 17852559
0
 
LVL 101

Assisted Solution

by:mlmcc
mlmcc earned 248 total points
ID: 17870911
0

Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question