Hi !!
I have a problem showing a users table in an ASP page.
It shows me only one record when i checked that there are more than one in my table.
But when i print the RecordCount property of each recordset all of them show me a -1.
What is happening?? :(
Please, help!!
Here is the code:
[code=asp]
Set rs0 = cn.Execute ("Select Id_Fam from Familia where Descripcion = '"&perfil&"' ")...
User Profile
Collapse
-
Why RecordCount shows me a -1 an only 1 record is found??
-
Thank you very much Guys!
The problem was there. I was requesting in a wrong way the value that was coming from a listbox, so the recordset was empty.
Thankz!! -
How to populate a Recordset with another Recordset as a clause
Hi!
I can't find how to build an SQL statement inside an ASP page using another open recordset as its where clause.
My code is the following:
Set rs0 = cn.Execute ("Select Id_Fam from Familia where Descripcion = '"&perfil&"' ")
sql = "Select Id_Usuario from Usu_Fam where Id_Fam = " & rs0("Id_Fam")
set rs2 = cn.Execute(sql)
... -
After processing values with a JS it returns NaN
Hi ! I need someone to help me with this.
I have an ASP page with a form that sends two values coming from a textbox to other. What i need is: A second page must receive them and pass them as parameters of a .JS function, who performs a sum and returns the result to it, which shows the value in an alert message.
I don't really understand how to manage a Js inside VBScript or how is the best way to do it, this code is the only...
No activity results to display
Show More
Leave a comment: