在数据库中因版面所限,字段的换行打印,换行后能与首行内容对齐

xsy 2000-07-01 08:54:00
在数据库中因版面所限,字段的换行打印,换行后能与首行内容对齐
...全文
134 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
kingstone 2000-12-13
  • 打赏
  • 举报
回复
我是自己处理onneeddata 把值赋给QRLable
if MoreData then
if not QyItem.Eof then begin
MoreData :=true;
if Line='' then begin
Line:=QyItem.FieldByName('Matter').AsString ;
QyItem.Next ;
end;
if ByteType(Line,RowLen)<>MbLeadByte then TrueRowLen:=RowLen
else TrueRowLen:=RowLen-1;
QRLable.Caption :=Copy(Line,1,TrueRowLen);
Delete(Line,1,TrueRowLen);
end
else QRLable.Caption :='';
fyje 2000-07-01
  • 打赏
  • 举报
回复
使用ereport支持自动换行的,并且使用简单,对于一般的报表足够用了.

2,496

社区成员

发帖
与我相关
我的任务
社区描述
Delphi 数据库相关
社区管理员
  • 数据库相关社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧