Home » Developer & Programmer » Forms » how to calculate block IN forumbuilder
how to calculate block IN forumbuilder [message #392196] Tue, 17 March 2009 00:16 Go to next message
haider_1pk
Messages: 85
Registered: 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.
Please Help me, how to solve this ,
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 Go to previous messageGo to next message
Littlefoot
Messages: 20901
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account 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 Go to previous messageGo to next message
haider_1pk
Messages: 85
Registered: 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
    (Size: 56.00KB, Downloaded 145 times)
Re: how to calculate block IN forumbuilder [message #394710 is a reply to message #392230] Sun, 29 March 2009 19:49 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account 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 Go to previous messageGo to next message
haider_1pk
Messages: 85
Registered: 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 Go to previous message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
If you mean 'store an image' please search this forum for 'image' or 'blob'.

David
Previous Topic: File uploading from client side through forms 6i
Next Topic: Shortcut keys to move between tab pages
Goto Forum:
  


Current Time: Thu Dec 08 14:27:38 CST 2016

Total time taken to generate the page: 0.09971 seconds