Delphi Pages Forums  

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

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
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

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
Reply With Quote
  #2  
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?

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.
Reply With Quote
Reply

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 09:59 AM.


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