|
 |
asp_databases thread: Mutiple pages based reult.
Message #1 by "Irfan Bashir" <irfan4@m...> on Tue, 10 Sep 2002 23:04:05
|
|
Hi!
i want to display the records on multiple pages like my SQL returns 20
result. I want to display them on two page....
and also
Dim myArray()
myArray(0, 1)="abc"
myArray(0, 2)="def"
works great but
For i=0 to 5
ReDim PreServe myArray(i+1, 2) 'total colums 2 add one more row
myArray(i+1, 1) = myStringVar1 'Erorr array subscript out of rage...
myArray(i+1, 2) = myStringVar2
Next
i am unable to solve this problem pls help me .....
Thanks,
Irfan Bashir
Message #2 by "Kim Iwan Hansen" <kimiwan@k...> on Wed, 11 Sep 2002 01:46:52 +0200
|
|
1) Data paging is what you want:
http://www.google.com/search?hl=da&ie=UTF-8&oe=UTF-8&q=asp+paging+recordset&
lr
2) Read:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/ht
ml/vsstmredim.asp
-Kim
> -----Original Message-----
> From: Irfan Bashir [mailto:irfan4@m...]
> Sent: 10. september 2002 23:04
> To: ASP Databases
> Subject: [asp_databases] Mutiple pages based reult.
>
>
> Hi!
>
> i want to display the records on multiple pages like my SQL returns 20
> result. I want to display them on two page....
>
> and also
>
>
> Dim myArray()
>
> myArray(0, 1)="abc"
> myArray(0, 2)="def"
>
> works great but
>
> For i=0 to 5
> ReDim PreServe myArray(i+1, 2) 'total colums 2 add one more row
> myArray(i+1, 1) = myStringVar1 'Erorr array subscript out of rage...
> myArray(i+1, 2) = myStringVar2
> Next
>
>
> i am unable to solve this problem pls help me .....
>
>
> Thanks,
> Irfan Bashir
>
Message #3 by "Irfan Bashir" <irfan4@m...> on Fri, 13 Sep 2002 00:33:16
|
|
Hye Thanks Kim
Thanks for providing me the paging solution but what about array problem,
its still there :(
Thanks, Irfan Bashir
> 1) Data paging is what you want:
http://www.google.com/search?hl=da&ie=UTF-8&oe=UTF-
8&q=asp+paging+recordset&
lr
2) Read:
http://msdn.microsoft.com/library/default.asp?url=/library/en-
us/script56/ht
ml/vsstmredim.asp
-Kim
> -----Original Message-----
> From: Irfan Bashir [mailto:irfan4@m...]
> Sent: 10. september 2002 23:04
> To: ASP Databases
> Subject: [asp_databases] Mutiple pages based reult.
>
>
> Hi!
>
> i want to display the records on multiple pages like my SQL returns 20
> result. I want to display them on two page....
>
> and also
>
>
> Dim myArray()
>
> myArray(0, 1)="abc"
> myArray(0, 2)="def"
>
> works great but
>
> For i=0 to 5
> ReDim PreServe myArray(i+1, 2) 'total colums 2 add one more row
> myArray(i+1, 1) = myStringVar1 'Erorr array subscript out of rage...
> myArray(i+1, 2) = myStringVar2
> Next
>
>
> i am unable to solve this problem pls help me .....
>
>
> Thanks,
> Irfan Bashir
>
Message #4 by "Kim Iwan Hansen" <kimiwan@k...> on Fri, 13 Sep 2002 06:23:56 +0200
|
|
Did you actually read what link #2 says?
-Kim
> -----Original Message-----
> From: Irfan Bashir [mailto:irfan4@m...]
> Sent: 13. september 2002 00:33
> To: ASP Databases
> Subject: [asp_databases] RE: Mutiple pages based reult.
>
>
> Hye Thanks Kim
>
> Thanks for providing me the paging solution but what about array problem,
> its still there :(
>
>
> Thanks, Irfan Bashir
>
>
>
>
>
> > 1) Data paging is what you want:
> http://www.google.com/search?hl=da&ie=UTF-8&oe=UTF-
> 8&q=asp+paging+recordset&
> lr
>
> 2) Read:
> http://msdn.microsoft.com/library/default.asp?url=/library/en-
> us/script56/ht
> ml/vsstmredim.asp
>
> -Kim
>
> > -----Original Message-----
> > From: Irfan Bashir [mailto:irfan4@m...]
> > Sent: 10. september 2002 23:04
> > To: ASP Databases
> > Subject: [asp_databases] Mutiple pages based reult.
> >
> >
> > Hi!
> >
> > i want to display the records on multiple pages like my SQL returns 20
> > result. I want to display them on two page....
> >
> > and also
> >
> >
> > Dim myArray()
> >
> > myArray(0, 1)="abc"
> > myArray(0, 2)="def"
> >
> > works great but
> >
> > For i=0 to 5
> > ReDim PreServe myArray(i+1, 2) 'total colums 2 add one more row
> > myArray(i+1, 1) = myStringVar1 'Erorr array subscript out of rage...
> > myArray(i+1, 2) = myStringVar2
> > Next
> >
> >
> > i am unable to solve this problem pls help me .....
> >
> >
> > Thanks,
> > Irfan Bashir
> >
>
|
|
 |