Solved

"Unknown Error"

Posted on 2002-05-19
2
266 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
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…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

749 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