|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
GetRows method: how do i fix the no. of rows/results
Hello everyone
When querying a database, I know I can fix the no. of returned rows/results to 20 (for example) using the GetString method: myVar = objRs.GetString(, 20, , ,) What syntax do I need to use to do the same with the GetRows method: myVar = objRs.GetRows ??? Thank you Adam |
|
#2
|
|||
|
|||
|
hi adamay
Im not sure this is going to be useful at all and you might have already looked, but isnt there a file called "LimitRows_JScript.asp" in the tutorial files that comes with IIS??? |
|
#3
|
|||
|
|||
|
You can specify a start in the ado recordset so getrows will become a subset of the recordset. This might work for you.
http://msdn.microsoft.com/library/d...mdamth02_10.asp |
|
#4
|
|||
|
|||
|
Thanks a bunch
Doug G wrote:
> This might work for you. > http://msdn.microsoft.com/library/d...mdamth02_10.asp Thats exactly what i needed guys, thanks a bunch. You've been a great help. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > GetRows method: how do i fix the no. of rows/results |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|