Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Newby - formula parameter question

Status
Not open for further replies.

jimsteele

Programmer
Apr 12, 2001
1
US
Is it possible to write a generic formula to calculate a value that will be used in multiple places in a report where the calculation is based on some input parameter?

Something like a regular VB function where I pass in some input value?

Function MyFunc( MyInput As Double ) As String

MyFunc = Magic( MyInput )

End Function

Thanks very much!

Jim
 
Yes,

Create the paramater.
Use the parameter in a formula field to do your calculation.
Now, use that formula in any other formula. Ken Hamady
Crystal Reports Training/Consulting and a
Quick Reference Guide to VB/Crystal (including ADO)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top