Solved

User Defined Function

Posted on 2006-11-01
8
375 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
  • 3
  • 2
8 Comments
 
LVL 22

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 22

Expert Comment

by:Ido Millet
ID: 17852115
Should work without a problem in a UFL.
0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 

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 22

Accepted Solution

by:
Ido Millet earned 63 total points
ID: 17852559
0
 
LVL 100

Assisted Solution

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

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
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 demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

757 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now