Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
Old 09-19-2018, 10:50 AM
Marsheng Marsheng is offline
Senior Member
 
Join Date: Nov 2008
Posts: 313
Default DBLookupComboBox moves record pointer

I have 2 tables Master and Clubs.

On one form I have a DBLookupComboBox and it gets it data from Clubs for the Master.

From what I can see, it acts more like a master slave relationship. If I step through a DBGrid on a completely different form, it appears for move the pointer in the Clubs file to the matching record. I did not expect this, master slave yes, LookupComboBox no.

Am I doing something wrong or is this how it works ?
Thanks Wallace.
Reply With Quote
  #2  
Old 09-19-2018, 12:50 PM
rojam rojam is offline
Senior Member
 
Join Date: Jun 2015
Posts: 191
Default

If DB Components are attached to the same datasource/(query-table), then yes, it will act this way. How else would you expect them to act???
Reply With Quote
  #3  
Old 09-19-2018, 08:53 PM
Marsheng Marsheng is offline
Senior Member
 
Join Date: Nov 2008
Posts: 313
Default

Quote:
Originally Posted by rojam View Post
If DB Components are attached to the same datasource/(query-table), then yes, it will act this way. How else would you expect them to act???

I would have only expected this relationship to be active while using the combobox.

So what I have to do is create a 2nd table copy table for the string list. This second table is used for nothing else.
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 On

Forum Jump


All times are GMT. The time now is 08:25 AM.


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