I just start to write asp connect Btrieve 6.15. I wanted to search one field with 2 values following this:
select distinct Date as DateAdded from table1 WHERE (RTRIM(IDCode) = '100' or RTRIM(IDCode) = '101')
and I've got error following this:
Microsoft VBScript runtime (0x800A01A8)
Object required
test.asp, line 138
line 138 is "if rs.eof then"
But when I search with one value only. It seems show result fine.
select distinct Date as DateAdded from table1 WHERE (RTRIM(IDCode) = '100')
I don't know what's wrong with my sql command. It's pretty simple. I don't have a query tool for Btrieve. I have Btrieve 6.15, Pervasive ODBC installed that's all.
Please help.
select distinct Date as DateAdded from table1 WHERE (RTRIM(IDCode) = '100' or RTRIM(IDCode) = '101')
and I've got error following this:
Microsoft VBScript runtime (0x800A01A8)
Object required
test.asp, line 138
line 138 is "if rs.eof then"
But when I search with one value only. It seems show result fine.
select distinct Date as DateAdded from table1 WHERE (RTRIM(IDCode) = '100')
I don't know what's wrong with my sql command. It's pretty simple. I don't have a query tool for Btrieve. I have Btrieve 6.15, Pervasive ODBC installed that's all.
Please help.