Home » Developer & Programmer » Forms » how to calculate block IN forumbuilder
how to calculate block IN forumbuilder Tue, 17 March 2009 00:16
 haider_1pk Messages: 92Registered: March 2009 Location: PAKISTAN Member
Hello ALL,
Dear ,.

I have Create three items; multiply the first and the second one in (for example) WHEN-VALIDATE-ITEM trigger on the second item and store result in the third one. For example
:block.item_3 := :block.item_1 * :block.item_2;
Now I need the whole total of Blocks
For Example
2 * 4=8
3*3 =9
3*4=12
Total = 29
But I need to Answer same Block.
Thanks\

Haider Ali

[EDITED by LF: removed font size 5]

[Updated on: Tue, 17 March 2009 01:27] by Moderator

Report message to a moderator

Re: how to calculate block IN forumbuilder [message #392219 is a reply to message #392196] Tue, 17 March 2009 01:29
 Littlefoot Messages: 21148Registered: June 2005 Location: Croatia, Europe Senior MemberAccount Moderator
Maintain the "total" value in the same trigger, such as
`:block.total_item := :block.total_item + :block.current_result;`
Take care about NULL values.
Re: how to calculate block IN forumbuilder [message #392230 is a reply to message #392219] Tue, 17 March 2009 01:57
 haider_1pk Messages: 92Registered: March 2009 Location: PAKISTAN Member
HELLO DEAR ,
I still could not make the formula of calculation . So i attacted the testproject file in FBM.
Please guid me how to make the formula.
Thanks
• Attachment: account.fmb
Re: how to calculate block IN forumbuilder [message #394710 is a reply to message #392230] Sun, 29 March 2009 19:49
 djmartin Messages: 10180Registered: March 2005 Location: Surges Bay TAS Australia Senior MemberAccount Moderator
Have you solved your problem?

David
Re: how to calculate block IN forumbuilder [message #394726 is a reply to message #392196] Sun, 29 March 2009 22:46
 haider_1pk Messages: 92Registered: March 2009 Location: PAKISTAN Member
Dear Friend ,
Thanks I solved the promblem . Now i Need to Know that how to make image In forum builder .

Thanks
Re: how to calculate block IN forumbuilder [message #395550 is a reply to message #394726] Wed, 01 April 2009 18:18
 djmartin Messages: 10180Registered: March 2005 Location: Surges Bay TAS Australia Senior MemberAccount Moderator
If you mean 'store an image' please search this forum for 'image' or 'blob'.

David
 Previous Topic: Programatically Assign the table data to the Lable of Push Button Next Topic: Mandatory Field problem
Goto Forum:

Current Time: Tue Aug 22 21:38:39 CDT 2017

Total time taken to generate the page: 0.05150 seconds