我有个很长很长的字段,我在报表打印时一行不能全部显示。我怎么才能让它分行分行显示。这个字段我用MEMO。不过我在QRPORT中找到QRMEMO它却没有DATASET这个选项。你说我该怎么办?
解决方案 »
- 30%下的图片与100%后的图片,像素的对应值该怎么取得
- 字符串保存數據,前台以日期型處理
- delphi调用c dll帮忙看看我错在哪里?
- 大家帮我看看这段代码,运行提示ora-00933:sql command not properly ended
- DBGrid怎么赋值
- 关于做多语言程序的问题?
- 请教:ADO连接数据库时用户录入登录错误信息为什么捕捉不了EOleException异常?
- 我写了一个类是从TCustomControl派生,我想给他加上 caption属性让他在设计时上面就有caotion,就象按忸控件一样拉上来就有一个"button1"?
- 一个简单的问题!!
- cxgrid的create问题
- DLL调用DLL的问题
- 100分求助,图形定位问题,使用控件:Image,请给出详细说明。
{begin
autochangerow(39,value);
end;}
var
bExit : boolean;
iLen : integer;
strSource, strTemp : string;
begin
if Length(Value) <= 32 then
exit;
strSource := Value;
Value := '';
while true do
begin
iLen := 1;
while iLen < 32 do
begin
if ord(strSource[iLen]) > 128 then
inc(iLen, 2)
else
inc(iLen);
end;
dec(iLen);
strTemp := Copy(strSource, 1, iLen);
if Value = '' then
Value := strTemp
else
Value := Value + #13 + strTemp;
strSource := Copy(strSource, iLen + 1, Length(strSource) - iLen);
if Length(strSource) <= 32 then
begin
Value := Value + #13 + strSource;
exit;
end;
end;
end;
其中32是宽度,可以改