User Profile

Collapse

Profile Sidebar

Collapse
GeryLuz
GeryLuz
Last Activity: Sep 19 '07, 12:24 PM
Joined: Jul 13 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Why RecordCount shows me a -1 an only 1 record is found??

    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&"' ")...
    See more | Go to post
    Last edited by jhardman; Jul 30 '07, 09:43 PM. Reason: put code in code tags

  • 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!!
    See more | Go to post

    Leave a comment:


  • 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)
    ...
    See more | Go to post

  • 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...
    See more | Go to post
No activity results to display
Show More
Working...