后 ,避免出现与该字段类型不符的关系运算符 ,加入
了以 Oracle 数据类型来选择 SQL 关系运算符的代码 :
With cmbFieldName
For i = 0 To rs1. Fields. Count21
. AddItem rs1. Fields(i) . Name
If (rs1. Fields(i) . Type = adVarWChar) Or (rs1. Fields(i) .
Type = adWChar) Then
cmbFieldType. AddItem“C”
ElseIf (rs1. Fields(i) . Type = adVarNumeric) Or (rs1.
Fields(i) . Type = adDouble) Or (rs1. Fields(i) .
Type = adNumer