dbo.SqlDtaToCreate WHERE DtaLineAccountToDebit = '" + Straccref + "' and DtaLineCode IN('" + joined + "')";select * from SqlDtaToCreate where DtaLineAccountToDebit='123.567U' and DtaLineCode
我有一个带有值“和”、“或”、“不”、带有字段名列表的组合框。“标题”,“描述”,以及与每个组合框相关联的文本框。我试图根据组合框和文本框的值创建sql查询。为此,我需要根据组合框的值引用字段名。我正在尝试找到搜索的解决方案,但仍然收到错误:“编译错误:未定义的子函数或函数”。调试器以黄色高亮显示“VHS_Metadata_Aug52014(字段)”。bool_type = Me!txtKeywords2.value
If (