Counter (merged by CM) [message #438642] |
Mon, 11 January 2010 06:11 |
*munnabhai*
Messages: 157 Registered: March 2008 Location: Riyadh
|
Senior Member |
|
|
Hi guyz,
i have an master details form in details form i have one non database item which called counter.
it will count how many records in Details forms.
also have check box in my details form. when user check the check box it will minus the total records in counter item
like if i have 9 total items in counter it will show 8 if user check the check box if uncheked it will plus the value.
anyone tell me how can i deal with this counter?
anyhelp appreicate plz.
Regards
|
|
|
|
|
|
Re: Counter (merged by CM) [message #439417 is a reply to message #438732] |
Sat, 16 January 2010 09:32 |
*munnabhai*
Messages: 157 Registered: March 2008 Location: Riyadh
|
Senior Member |
|
|
Hi DJ,
Thx for your reply. DJ please could you help me in this substract and add to this counter i get all the total in the bloc by using the below code
:DT_ADN_MASTER.COUNTER :=GET_BLOCK_PROPERTY('DT_ADN_DETAILS',QUERY_HITS);
but how can i add and substract the counter by using the checkbox? if value is Y it should be substract if N it should be add.
Regards
|
|
|
|
|