Recent

Author Topic: LazReport How to Print checkbox  (Read 412 times)

eldonfsr

  • Sr. Member
  • ****
  • Posts: 372
LazReport How to Print checkbox
« on: December 21, 2022, 01:49:38 am »
Hello how i can print a checkbox link to field of table from mysql

I put a check box and script define

if( [DM.SQLQSources."lnkuse'"]=1) then begin
      True;
    end else begin
      false;
    end; 
but i don't work , thanks hope help me..


dseligo

  • Hero Member
  • *****
  • Posts: 984
Re: LazReport How to Print checkbox
« Reply #1 on: December 21, 2022, 12:05:58 pm »
Put this in the script:
Code: Pascal  [Select][+][-]
  1. Checked := [DM.SQLQSources.lnkuse] = 1;

eldonfsr

  • Sr. Member
  • ****
  • Posts: 372
Re: LazReport How to Print checkbox
« Reply #2 on: December 21, 2022, 05:32:15 pm »
Great Thanks so much...

 

TinyPortal © 2005-2018