Delphi Pages Forums

Delphi Pages Forums (http://www.delphipages.com/forum/index.php)
-   DB-Aware (http://www.delphipages.com/forum/forumdisplay.php?f=5)
-   -   'No look up table specified' error in DBLook Up Combo (http://www.delphipages.com/forum/showthread.php?t=178465)

gayathri27 02-02-2007 10:19 PM

'No look up table specified' error in DBLook Up Combo
 
Hi,

I have used DB look up combo in my application.
when I try to add a record for the second time it throws a warning 'No look up table specified'. this is because when I add new record I make the

DBLookupContractId.LookupTable := nil;
DBLookupContractName.LookupTable := nil;
Please guide me to resolve the issue


Regards
Kavitha

jdg 02-03-2007 07:22 AM

RE: 'No look up table specified' error in DBLook Up Combo
 
Is it not too obvious that the following code is causing your problem?

Code:

DBLookupContractId.LookupTable := nil;
    DBLookupContractName.LookupTable := nil;

Why do you set lookup table to nil?

Either remove this code, or reset the value of the lookup table.

jdg.ho

I love this forum. Your generosity is wonderful.


All times are GMT. The time now is 02:27 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.