Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using Dropdown

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi

I have a DBlookupcombobox. I've written this code (on enter event)so that it automatically dropdown once you set focus on it...

procedure TFmHHold.DBLookupComboBox2Enter(Sender: TObject);
begin
DBLookupComboBox2.DropDown;
end;

my problem is that even though i select an item from the dropdown (with the up/down arrow key from keyboard)it does not update my field value. It always shows the previous value.

can someone help me please
 
Have you got DataSource and DataField Set for the Table that you wish to Update?

Which Version of Delphi are you using? Kind Regards, Paul Benn

**** Never Giveup, keep trying, the answer is out there!!! ****
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top