Report machine 单据报表设计
报表设计样式变量的定义:
[变量名]
给变量赋值
if RMgridReport1.LoadFromFile(GetAppPath + 'report/' + rBuy + g_repEXT) then
begin
RMVariables['title'] := rBuy;
RMVariables['store'] := RzComboBox1.Text;
RMVariables['memo'] := RzEdit1.Text;
RMVariables['customer'] := RzButtonEdit2.Text;
RMgridReport1.ShowReport;
end;
单元格类型à插入汇总框
设置“统计类型”