Results 1 to 4 of 4

Thread: show records in a group of 10

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Apr 2005
    Posts
    18

    show records in a group of 10

    hi Everyone!
    i have a pb. in my project(vb and access).The database i'm having (Ms-Access is used as database)contains a large no of records(55000 items).i need to display the items in the listbox but when i query the databse to bring records using orderby and loop thru the recordset listbox contents seems to swing while populating.

    can it be possible to display records in a group of 10/20 .is there any query for this..if i try select top 10 (or %) ,1st ten will be displayed but what about remaining? how an i solve this.i have next and prev button at the top of list
    for disp records in a group but couldn't implement it.Pl. send code if anyone has.

    help me

    ashish sharma

  2. #2
    Fanatic Member Bombdrop's Avatar
    Join Date
    Apr 2001
    Location
    St Helens, England, UK
    Posts
    667

    Re: show records in a group of 10

    Quick reply take a look at the Pagesize property of the recordset object this should be what you need.!!


    Hope this helps!!!

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Apr 2005
    Posts
    18

    Re: show records in a group of 10

    Quote Originally Posted by Bombdrop
    Quick reply take a look at the Pagesize property of the recordset object this should be what you need.!!


    Hope this helps!!!
    but how to use it. i dont know.pl give me code

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: show records in a group of 10

    Welcome to the forums.

    AbsolutePage And PageSize

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