hi all,
can anyone tell me how to enable/disable the button in the purch table form. when the button is clicked for the selected invoice it should disable… similarly when i select the other record it should enable
hi all,
can anyone tell me how to enable/disable the button in the purch table form. when the button is clicked for the selected invoice it should disable… similarly when i select the other record it should enable
Hi,
Set Auto Declaration yes for the button you want to enable and disable.
write in purchtable data source active method.
if(//Condition)
Button.enable(true);
else
Button.enable(false);
you can write a code in Active method. here you can get a current record. so that you can check whether it is invoiced or not.
if (PurchTable.PurchStatus == PurchStatus::invoiced )
button.enabled(false)
else
button.enabled(false)
is that the name of the button…can you plz elaborate
maria: can you elaborate the button…the name of the button is update
Write in purchtable datasource active method. Set Auto declaration Yes for the update button available in form design.
if (PurchTable.PurchStatus == PurchStatus::invoiced )
update.enabled(false)
else
update.enabled(true)
i am getting syntax error.
its a menuitembutton…and in action
Hello,
Please see this link for getting yourt solution
http://axforum.info/forums/showthread.php?t=15244
Thanks & Regards
Arun Garg
hi,
thank you so much for the link…i got the perfect answer…