Enable and Disable the button [message #459741] |
Tue, 08 June 2010 03:42 |
dhanasurya
Messages: 33 Registered: May 2010
|
Member |
|
|
Hi,
I have one requirement i.e i have one db block[emp] which displays emp details in tabular form.I have one checkbox in the same block.and i have a split button in the form.
my requirement is i want to split only one line if checkbox is checked.i.e
if i check 1 record split button should be enabled for only that record.if i check next record for that record split button should be disabled.
How can i do this?
Help me out.
Thanks,
|
|
|
Re: Enable and Disable the button [message #459770 is a reply to message #459741] |
Tue, 08 June 2010 05:01 |
cookiemonster
Messages: 13938 Registered: September 2008 Location: Rainy Manchester
|
Senior Member |
|
|
Have the when-checkbox-checked trigger increment and decrement (as appropriate) a counter that would be either a global variable or an item in another datablock. When the counter is 1 enable the button, when it's anything else disable the button.
|
|
|
|
|
|