下面是完整的例子 with adoquery1 do begin close; sql.Clear; sql.Add('select * from T_Fwzl where int(Fwbh)>5'); try open; except showmessage(sql.Text); end; end;
在SQL Server数据库里可以用"len(字段)",但就是不知道DBASE里要用什么?
你是想长度大于10? 还是数值大于10? 如果不是长度用LEN做什么?
也是用len,可以的,难道你不行吗
不行,不支持?这是DBASE类型的数据库
select * from jzg where len(trim(xm))>=6 已调试通过,用ADOQUERY
select * from Table where int(field)>10
begin
close;
sql.Clear;
sql.Add('select * from T_Fwzl where int(Fwbh)>5');
try
open;
except
showmessage(sql.Text);
end;
end;
还是数值大于10?
如果不是长度用LEN做什么?
已调试通过,用ADOQUERY
Provider=VFPOLEDB.1;Data Source=h:\gzkd;Password="";Collating Sequence=MACHINE
我给aaaa分60大元
走向死亡分40大元
谁要是还想要就讲一声,我送分给你