本文介绍了从记录中读取值并生成IN STATEMENT的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 需要一些帮助。我有一张名为CPM的表格。其中包含一个名为ACTNUM的字段。我正在尝试编写一个代码,将每条记录循环到In语句中。最终输出将是...('''ABCDE'',''FGHIKD'',''ZADET'')。 In语句将插入到DoCmd.RunSQL中。任何帮助将不胜感激。解决方案 Need some help. I have a table called "CPM" which contains one field called "ACTNUM". I''m trying to write a code that will loop through each record into an In Statement. Final out put would be... In (''ABCDE'',''FGHIKD'',''ZADET''). The In Statement would be inserted to a DoCmd.RunSQL. Any help would be appreciated. 解决方案 这篇关于从记录中读取值并生成IN STATEMENT的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 11-02 18:05