cxgrid里主从表导出excel(注意。是主从表。)
with dlgSave1 do
begin
if Execute then
begin
ExportGridToEXCEl(FileName, grd_Statistics, True, True);
end;
end;
这样只能导出主表的数据。
[解决办法]
只能自己定代码。不能直接导出主从的
发布时间: 2013-12-17 12:06:34 作者: rapoo
cxgrid里主从表导出excel(注意。是主从表。)
with dlgSave1 do
begin
if Execute then
begin
ExportGridToEXCEl(FileName, grd_Statistics, True, True);
end;
end;