Click to See Complete Forum and Search --> : "count" is not working. I want to learn the data number


evgin
08-18-2003, 02:27 AM
my code is:

alltable = "select count(*) As Toplam FROM haftalik_tablo"
Set rs = Baglanti.Execute(alltable)

ToplamKayit = rs("Toplam")
Response.Write ToplamKayit

But I am getting error. How can I get the ROW NUMBER of the database, I mean howmany data have been saved

karlmcauley
08-18-2003, 06:22 AM
Is it a connection error?

Is it connecting fine but displaying an error in the returned results?

Post the error here then we can proceed from there.

Cheers

evgin
08-18-2003, 10:00 AM
thank you very much , I have just solved