连续判断 ComboBox1下拉框是否为空,我运行以下语句提示有错如下:...if FlatComboBox1.Text='' or FlatComboBox2.Text='' then
term:=term+' like ''%'+FlatComboBox5.text+'%''';
...错误提示---->什么原因???
[Error] gltj.pas(60): Operator not applicable to this operand type
[Fatal Error] Project1.dpr(6): Could not compile used unit 'gltj.pas'
term:=term+' like ''%'+FlatComboBox5.text+'%''';
...错误提示---->什么原因???
[Error] gltj.pas(60): Operator not applicable to this operand type
[Fatal Error] Project1.dpr(6): Could not compile used unit 'gltj.pas'
解决方案 »
- WebBrowser组件中使用FTP只能显示,不能上传下载??
- 返回值问题
- 小弟有一关于WIN2K服务程序跟其它应用程序通信的问题,想请教一下各位高手!
- 如何得到字符串中的字符个数
- 怎样快速将一个execl表导入到sqlserver数据库表中,
- 关于StatusBar显示Imagelist?辛苦的琢磨了两天,最后一物所得,知--快奉献,高分相送
- 多线程的问题
- 共同讨论一个windows开发的问题-----内存管理, 欢迎灌水
- C#实现Combobox下拉框选择并且可以自定义输入
- TLabel 的 OnMouseEnter 和 OnMoveLeave 分别对应 什么消息!!谢谢
- excel使用OLE对象(注意:非使用excel) (二)
- 在delphi中怎么调用以com组件方式编写的dll
term:=term+' like ''%'+FlatComboBox5.text+'%''';
procedure TForm1.Button1Click(Sender: TObject);
begin
if ComboBox1.Items.Count=0 then
showmessage('null');
end;
...if (...) and (...) and (....) then
...