LazReport variables lazarus / 13-General ---------------------------------------------------------------------- RobyWan · 2010-04-28 05:53 Hi everybody! I found some problem when I try to send some variables to lazreport: I insert in my memotext of lazreport my variables into square brackets and in my source I update them with ftVariables['namevar'], but sometime lazreport tells me that a variable does not exist (but it exist and well declared!). I don't understand if I have to first use PrepareReport and after update variables or first variables and after PrepareReport (I have tried all solutions)... How I have to do? Thanks everybody ---------------------------------------------------------------------- jesusr · 2010-04-28 14:07 It could be a bug, I don't know, Please submit a bug report in bug tracker and attach a sample project that test both this problem and the problem on margins, ---------------------------------------------------------------------- christensen · 2010-05-09 10:47 What version of Lazarus have? and Lazreport? How you assigned the variable? For me is working very well! I use Lazarus IDE v0.9.28.2 beta and Lazreport 0.9.5 I’ve done: Declare a string variable.(global) At the Form Create event I’ve give a value for that variable. On ‘print’ button on click event: Code: [Select]frVariables['Name'] := Variable Name; InvPrint.ShowReport;     on the lazreport form: Code: [Select][Name]