Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个连接到 TAdoQuery 的 gridview。
我想更改已过滤掉的所有行的列值。像“检查所有”这样的东西,因此它将名为“活动”的列的所有值更改为 True。
我该怎么做?
假设我有类似的东西
qry.filter := some filters here; qry.filtered := true;
如何更改所有过滤结果的“活动”列中的值,例如:
for 0 to qry.count -1 do qry.filtered.column(active) := True;