能说详细点吗,变量类型是什么,dbInconsistent是什么参数

解决方案 »

  1.   

    问题在于:grdoCN.Execute里面的Execute 在msdn里面找不到帮助。我在MSDN2002 里面找到了dao.execute的说明。dbInconsistent是 dao.Execute( LPCTSTR lpszSQL, int nOptions = dbFailOnError )里的默认说明。option还有其他的选项.我试过了都不行。option:
    dbDenyWrite   Deny write permission to other users. 
    dbInconsistent   (Default) Inconsistent updates. 
    dbConsistent   Consistent updates. 
    dbSQLPassThrough   SQL pass-through. Causes the SQL statement to be passed to an ODBC data source for processing. 
    dbFailOnError   Roll back updates if an error occurs. 
    dbSeeChanges   Generate a run-time error if another user is changing data you are editing. dao 3.6 的库里没有ExecuteSql,只有Eecute.而且 dao.execute不返回参数。那我怎么知道dao.execute的结果呢?
      

  2.   

    变量未定义。 dbInconsistent
      

  3.   

    now是什么?VB的函数?如果是为什么要放到引号里?
      

  4.   

    l = grdoCN.Execute(gSQL, dbInconsistent)
    变量未定义。 dbInconsistent 或者是 l