Karl Blessing
Programmer
There is a little delima, I have a big set of items, which when chosen goes to next page, returns the data for this, now what a customer wants, is that, if there is no data for the item, then dont have a hyperlink going to the next page.
while this sounds like a pretty easy problem. The delima is, I could do this, but even telling SQL Server(Via ADO) not to return recordsets, and to set the number of items per page to zero, it would still take a significant ammount of time, to just tell if there is data or not for a query.
is there a way to tell if there is data for a certain query, but not spend any time, trying to get that data back. (Especially if it has data, then you'd have to wait almost 40 second at the most for it to return wheter or not it has any) Karl Blessing aka kb244{fastHACK}
while this sounds like a pretty easy problem. The delima is, I could do this, but even telling SQL Server(Via ADO) not to return recordsets, and to set the number of items per page to zero, it would still take a significant ammount of time, to just tell if there is data or not for a query.
is there a way to tell if there is data for a certain query, but not spend any time, trying to get that data back. (Especially if it has data, then you'd have to wait almost 40 second at the most for it to return wheter or not it has any) Karl Blessing aka kb244{fastHACK}
