The 'bug 'of the ADO dataset lookup fields in Delphi'

Source: Internet
Author: User

This is a letter I wrote to Borland, but they did not reply.

However, the content provides error causes and solutions.

Body of the email:

I am a loyal fan of Delphi.

I have never understood a problem. If the lookup type field in the ADO dataset control has a null value in the field pointed to by its lookupkeyfields attribute, 'eoleexception with message' an unknown error occurs. After debugging, it is verified that there are only three solutions:

1. Set the autocalcfield of the dataset where the lookup field is located to false.
2. assign a value to the lookupkeyfield when append of the dataset where the lookup field is located
3. Set the lookupcache Of The lookup field to true (the speed is greatly affected)

Should this be a Delphi bug? If it is a bug, why haven't delphi5 made any changes till now?
If it is not a bug, is that normal?
I hope your technical staff can answer this question. Thank you.

PS: Our company is a genuine user of Delphi. We hope Borland will become stronger and stronger.

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.