Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RecordCount problem

Status
Not open for further replies.

Setta

Programmer
Jul 9, 2003
22
BR
Hello.

I have two pages, and Dreamweaver has created a lot of code in both.

In the first one the RecordCount of a give rs returns me the total records in the rs, on the second page the RecordCount gives me -1.

What can be wrong?

I know so far that if the RecordCount is not allowed it returns -1, but why would DW create diferent codes (I asked it to do the same in both pages)???

It could be a problem with the cursor used on the rs?

thanks in advance.

-- Webmonkey --
 
sounds like a forward-only read-only cursor is being used. compare the code for the two objects.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top