在数据库内读入了一批数据到delphi的combobox1.items中。当我用以下语句时出现了错误:if combobox1.Text:=combobox1.Items[0] then
begin
……
end
else
if combobox1.Text:=combobox1.Items[1] then……
的时候
出现了错误提示:Type of expression must be BOOLEAN请问这是什么错误,我应该如何解决呢?
begin
……
end
else
if combobox1.Text:=combobox1.Items[1] then……
的时候
出现了错误提示:Type of expression must be BOOLEAN请问这是什么错误,我应该如何解决呢?
解决方案 »
- 我的win7系统装Delphi7和sql2000都会出现错误
- 睡觉前发帖,明早结帖
- 用delphi 解决xml的问题?? 请好心人帮忙,急!!分全给!
- 往ADOQUEYR加SQL语句的问题
- 求十进制转换成为十六进制的方法
- 关于TdxDBInspector中的TdxInspectorDBExtLookupRow的使用????
- 打包时,怎么样实现在安装的同时,也把后台数据库也建好?
- 这个存储进程调用时老报错!!!
- 各位大哥帮忙!!!!!!!!!!!!UP有分,大家出力
- 我想考大学,但是.....请各位帮我!!!
- 从LISTBOX1中选择一项使其值自动传给EDIT1.TEXT,怎么做呢?
- InterBase驱动在哪下?????
begin
……
end
else
if combobox1.Text:=combobox1.Items[1] then你写的试赋值,不是比较