Solved

User Defined Function

Posted on 2006-11-01
8
376 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
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…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

920 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

16 Experts available now in Live!

Get 1:1 Help Now