我用access做数据库。5个checkbox表示5个表名。每个表有时间关联。我现在想从表里选出参数显示。如果checkbox A和B选中的话,语句如下select A.time,A.wind,A....,B.temperature from A,B where A.time=B.time and time btween ##and ##。怎么在VC里实现checkbox与SQL语句的关联(选中那个表,那个表的参数显示,可以多个表显示)?
for循环遍历 还是if??