何备份一个表(dbgrid)中(dbf)?如何让grid中显示为零的数据显示为空?
解决方案 »
- 截取TForm1当前画面
- sendmessage中的用户自定义消息有没有大小限制?
- 初为人父,激动无比,散分庆祝!
- 高手进来看看,关于使用createprocess方法调用netstat -an命令
- 有关FASRTPROT如何直接打印的问题,总是弹出系统对话框,如何处理呢?
- 请问delphi里堆栈和链表以及二叉树等有没有封装好的类?
- 用delphi7如何实现以下功能。
- 使用IdHTTP控件执行post方法时的问题,在线等。。。
- DELPHI调用WORD 2000是不是有问题----特别不稳定(是DELPHI的BUG?)
- delphi7调用java编写的webservice问题
- 如何使用vfp建立的表
- del_c_sharp(摩托还需骆拉) 在不在!!?请帮忙,我在线!
select case rtrim(aa1) when 0 then '' else aa1 end as aa1 into table2 from table1但你的table1里面的aa1 字段需要为字符形,如果不是的话,数字字段的''
还是等于0
select case fieldvalue when 0 then '' else fieldvalue end from tablename如果是连的是TABLE,可加一计算字段!
Write an OnGetText handler to perform custom processing for the DisplayText and Text properties. Use OnGetText to format the Value of the field differently when it must be edited from the format used when simply displaying the value, or use OnGetText to display something other than the field抯 value when it is displayed.The Sender parameter is the field component. The Text parameter receives the formatted text that is used by the DisplayText or Text property. The DisplayText parameter indicates whether the text will be used for display purposes only, or whether the string will be used for editing purposes.If there is no OnGetText handler, the value of the DisplayText and Text properties is simply the value of the AsString property.
begin
if sender.AsInteger= o then
Text:='Nll';
end;
OK !!!!