Skip to Content
Former Member
Mar 04, 2009 at 08:56 PM

UFL parameter


Hello Everyone,

I'm trying to develop a UFL for Crystal Reports in VC++.

However, the numeric parameter I defined as LONG is always 0

NO MATTER what constant I pass in.

For example, my function has two parameters

MyFunc([in] BSTR strInput, [in] LONG nNum)

And I created a formula field in Crystal Reports

MyFunc('ABC', 1)

The first string parameter works well.

But the second parameter is always zero.

Could someone help me out?

Thanks in advance.