Topic: [SOLVED] Print only selected row (report)
Hi all,
What I'm trying to do is to print only data from selected row in Form1.TableGrid1.
There is one solution by Dmitry but there is no difference between buttons "Print Selected" and "Print All" IF NO ROW IS SELECTED, both buttons print all data.
What I need is, if no row is selected, then disable button "Print Selected" or show message "You have to select record for printing". Something like this: if Form1.Tablegrid1 number of selected rows = 0 then Form1.btnPrint.enabled := False.
Thank you in advance for help.
Vladimir