Wrox Programmer Forums
|
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 11th, 2006, 08:59 AM
Authorized User
 
Join Date: Nov 2005
Posts: 72
Thanks: 3
Thanked 0 Times in 0 Posts
Default Strange: get data but can´t see it

When I do a SELECT i afterwards use the date with rs("field")

But when I want to us it in a "DO WHILE NOT rs.EOF" it seem to loose sometime the data(???)

there are some fields which I can´t retrieve. When I put in front of the "DO WHILE NOT rs.EOF", RESPONSE.WRITE rs("FIELDX") it shows on the screen, if I put it in the "DO WHILE NOT rs.EOF" it doesn´t exists....

Anybody knows what it could be???

Cheers and thx,
David


 
Old January 11th, 2006, 11:46 AM
Authorized User
 
Join Date: Nov 2005
Posts: 72
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Ok, I found the solutions.

I used "SELECT * FROM CLIENTS WHERE[CONDITIONS]", which gave me zero results.
But if I uses" SELECT name,adress,.... FROM CLIENTS WHERE[CONDITIONS]" if gives me results when I use "rs("field")

Anybody knows why this is? The table has a lot of fields, so is it posible that SQl server only can return an amount of fields?

regards,

David








Similar Threads
Thread Thread Starter Forum Replies Last Post
Can´t creat excel file on a PC using ASP rtr1900 ASP.NET 2.0 Basics 6 October 29th, 2008 03:00 AM
Can´t delete any content from CMS Biergarten BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 1 July 21st, 2006 03:54 PM
Can´t connect using ODBC rtr1900 Classic ASP Databases 0 May 12th, 2006 10:25 AM
Really Strange... nooor83 BOOK: Professional Ajax ISBN: 978-0-471-77778-6 7 May 7th, 2006 12:51 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.