我可以使用Foreach项目枚举器遍历SQL表吗? [英] Can I loop through a SQL table using the Foreach Item Enumerator?

查看:61
本文介绍了我可以使用Foreach项目枚举器遍历SQL表吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要遍历表格中的记录并处理它们(我已经找到了流程部分)。 我最初尝试使用Foreach ADO枚举器,但我遇到了字段变量的问题(错误)。 我相信使用Foreach
项目枚举器将是一种更简单且更好的维护方法,但我无法找到与Foreach项目和记录集循环相关的任何内容。 这可能吗?



Rambler_358

I need to loop through records in a table and process them (I have the process part figured out).  I initially tried using the Foreach ADO Enumerator, but I'm having issues (errors) with the field variables.  I believe using the Foreach Item Enumerator would be a simpler and better maintenance-wise approach, but I'm not able to find anything related to the Foreach Item and recordset looping.  Is this possible?


Rambler_358

推荐答案

嗨威廉 - 谢谢你的回复。但是,我在您提供的与我的问题相关的链接中没有看到任何内容。
Hi William - Thank you for the response. However I didn't see anything in the links you provided related to my question.


这篇关于我可以使用Foreach项目枚举器遍历SQL表吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆