Odbc_fetch_into paging problems

Source: Internet
Author: User
I used odbc_fetch_into to implement a paging function. However, the row obtained by odbc_fetch_into is a numeric array. what should I do if I want to get an associated array? Or is there any other better paging method I use the access data odbc_fetch_into paging problem?
I used odbc_fetch_into to implement a paging function, but the row obtained by odbc_fetch_into is a number array. what should I do if I want to get an associated array? Or is there any other better paging method?

I am using an access database.
Odbc_fetch_into access odbc:
------ Solution --------------------
The ADODB. RecordSet component can be used for paging. of course, the ADODB. Connection component is used for connecting.

When components are not used, use SQL commands to retrieve only the required segments.

Now you get all the results, and then intercept a byte. This approach is not advisable and is a waste of resources.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.