Results 1 to 1 of 1

Thread: Data Reader [Resolved]

Threaded View

  1. #1

    Thread Starter
    Lively Member carl_mathews200's Avatar
    Join Date
    May 2004
    Location
    Wales, UK
    Posts
    94

    Data Reader [Resolved]

    I am running sql server 2000 and have a stored procedure to return the user details for a given department.

    Until now i had just 2 users in the database for testing purposes, now i have added a third and am having problems with the data reader, which will only return two records.

    I have run the stored procedure in the QA and it returns all three users for the given department.

    Is there any reason that the datareader will only return two records when there are clearly three in the table?

    the code i am using to read it

    Code:
    While dR.Read
         ' For testing
         msgbox dR.Item("Username")
    End While
    Any suggestions or am simply doing something wrong??


    Thank you.

    EDIT: my own *stupid* mistake.
    Last edited by carl_mathews200; Jul 23rd, 2004 at 06:03 AM.

Posting Permissions

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



Click Here to Expand Forum to Full Width