在类似于where employeecode='01534' 中,有的用单引号,有的不用,还有用什么的,
要根据dbgrid显示的数据集的各字段的数据类型来写where语句,如何实现
这样行吗:
  case DBGridEmployeeDataSource.DataSet.Fields.FieldByName.daDataType of
      case 类型1:  'where语句中用单引号
      case 类型2:
      。
   else
                 ;
  end;
那么具体有怎么写
先谢大家了