Multiple text item problem! [message #222451] |
Sun, 04 March 2007 22:06 |
oracle06
Messages: 36 Registered: December 2005
|
Member |
|
|
Hello All,
There are two blocks both no of item property is set 6.
In block1 a text item (named tot_amt) calculation mode has been set to formula and formula is:
nvl(toolblk.item1,0) - nvl(toolblk.item2,0) --toolblk(another(detail block))
problem:
tot_amt displays the amount corresponding that row but it displays same for all columns,when I move cursor
tot_amt chages but same for all columns.
* It should dislay the value correspondig that row not same for all.
What should I do?
Please tell me asap.
Thank You.
|
|
|
|
|
|
|
|
|
Re: Multiple text item problem! [message #222903 is a reply to message #222451] |
Tue, 06 March 2007 22:17 |
oracle06
Messages: 36 Registered: December 2005
|
Member |
|
|
Hello,
First of all thank you for guidence.
But problem is not of hardcoding,I want when I move cursor,
value of only current record should chnage,but right now when
I move cursor, values are changing for all records
corresponding to that perticular record where cursor points.
|
|
|
Re: Multiple text item problem! [message #222927 is a reply to message #222903] |
Wed, 07 March 2007 00:07 |
|
Littlefoot
Messages: 21823 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
But that sounds inconsistent to me. There are several records on the screen, and you want only one (i.e. current one) to show correct value (calculated by the formula you wrote). What about the rest of the records? Which value should they show? NULL? Something different?
Let's say that now I understand what you want, but I have no idea WHY on Earth would you want to do that.
There is a way - a simple one: make the block to show only one record at a time.
|
|
|