Microsoft VBScript runtime error '800a000d'
Type mismatch: 'count'
/niddkweb/table_stat_result.asp, line 75
I get this error when i give the following sql statement
mydb.dbSQL = " SELECT " & count(cond) &"from " & Session("Ti"
where cond = field that should be counted. For ex: cond may be empno,deptno which is generated depending on the table that the user choose to see the number of records.
Session("Ti" = tablename which is imported here.
Any help is highly appreciated.
Thanks,
Kwan