Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > DB-Aware

Lost Password?

Thread Tools Display Modes
Old 02-02-2007, 10:19 PM
gayathri27 gayathri27 is offline
Junior Member
Join Date: Jun 2006
Posts: 6
Default 'No look up table specified' error in DBLook Up Combo


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

Reply With Quote
Old 02-03-2007, 07:22 AM
jdg jdg is offline
Senior Member
Join Date: Sep 2003
Posts: 1,063
Default RE: 'No look up table specified' error in DBLook Up Combo

Is it not too obvious that the following code is causing your problem?

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.


I love this forum. Your generosity is wonderful.
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 03:21 AM.

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