Solved

"Unknown Error"

Posted on 2002-05-19
2
265 Views
Last Modified: 2010-04-04
Hi,
I have a database in mssql
I connect to the DB using TADOTables
along with the normal fields I have Lookup fields as well
when I am running my application Delphi gives me many
exceptions with the string : "Unknown Error" - which by delphi help books should never appear. this error accours but the user doesnt see a thing (not normal exception)
altough the code is not in a try except block. when Im trying to debug the problem - I cannot do it it just appear on the create of the datamodule (I dont have any code written in the on create or on any table events).
I noticed that when Im taking of the lookup fields from all the tables I dont recieve the Error (not a specific field but all of them , I tried taking them off one by one - didnt help).
does someone knows what could be the problem?
did anyone ever had this bizzare error?
if you know what to do or you some suggestions please
answer me
thanks,
bagon
0
Comment
Question by:Bagon
2 Comments
 
LVL 4

Accepted Solution

by:
nestorua earned 120 total points
ID: 7019796
HI, Bagon,
As for Lookup fields those "Unknown error" occurs because
of NULL field values
(The field Value of your table which references to the lookup Table is NULL).
Sincerely,
Nestorua.
0
 
LVL 1

Expert Comment

by:pnh73
ID: 9006004
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Accept answer from nestorua

Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
Paul (pnh73)
EE Cleanup Volunteer
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

816 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now