Home » Developer & Programmer » Forms » How To Calculate Average in Forms 6i
How To Calculate Average in Forms 6i [message #502232] Tue, 05 April 2011 07:14 Go to next message
qanita786
Messages: 229
Registered: May 2007
Location: PAKISTAN
Senior Member
How To Calculate Average in Forms 6i for example a summary column named (Amount = 5000) and i want to calculate 15% average of this amount i want to calcualte it like summary column pls guide me with some examples

Faheem
Re: How To Calculate Average in Forms 6i [message #502236 is a reply to message #502232] Tue, 05 April 2011 07:24 Go to previous messageGo to next message
Littlefoot
Messages: 21818
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
I'm not sure that "summary column" is capable of computing user-defined values. It can compute "average" values, but - in order to calculate 15% of something, you'll have to do that manually.
Re: How To Calculate Average in Forms 6i [message #502800 is a reply to message #502232] Sun, 10 April 2011 00:11 Go to previous message
adeelali
Messages: 10
Registered: April 2011
Location: Pakistan
Junior Member

qanita786 wrote on Tue, 05 April 2011 17:14
How To Calculate Average in Forms 6i for example a summary column named (Amount = 5000) and i want to calculate 15% average of this amount i want to calcualte it like summary column pls guide me with some examples

Faheem


Faheem kindly try this
on Amount Item which = 5000

Trigger = 'When-Validate-Item'

Query = :sum := nvl(:amount, 0)*.15;

Thanks & Regards,
Syed Adeel Ali
Previous Topic: Report through Form
Next Topic: Outlook Path
Goto Forum:
  


Current Time: Tue Sep 17 16:20:06 CDT 2024