Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jun 2002
    Location
    Delhi, India
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy Problem with recordsets ????

    Hi! Friends,
    Once again at your doorstep with another problem

    as follows:-

    I have four recordsets generated as per requirements

    submitted by the user. I have to display the contents of

    the recordsets. If the requirement of the user is not

    met then the recordset remains empty. Am displaying the

    contents using table in Internet Explorer. If any of the recordset remains empty then an error message is displayed that either BOF or EOF is true. If a match is found for each recordset then it works fine. I even tried imposing the if clause to check whether the number of records in each recordset is greater than 0(zero) or not. If it is then only the rows are generated, but in vain.
    How to handle it ???? Thanks in advance.

    -Navin.

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    Wichita
    Posts
    3,880
    Thanks
    0
    Thanked 0 Times in 0 Posts
    if (oRS.EOF) then
    response.write('Empty record set')
    else
    .... insert display recordset code here
    end if


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •