adodc是控件吧?拖过来设置好连接字符串

解决方案 »

  1.   

    是否不能用Format, 我看过别的例子, 不用Format,请各位帮我分析 
    if(set2.m_Getstring2 == " <=") 
    m_Set.m_strFilter.Format("SELECT user,name,e_name,brand,model,serial,c_no,asset,location,date,due,cal_freq,c_id,status,type,re from caliyq where convert(varchar(10),due,120) between '1997-07-07' and '1998-07-07'"); 
              
    m_Set.Requery();这句是查询的作用 执行到这就提示了 SELECT 附近有语法 不能准备语句