Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
Old 06-23-2018, 11:36 PM
Marsheng Marsheng is offline
Senior Member
 
Join Date: Nov 2008
Posts: 299
Default dbComboBox not updating

I've been round this a few times but no cigar.

I have a DB field XYZ in a database

The combobox has the datasource and datafield correctly specified.

In the Items list, I have the options for the field XYZ.

When I run the program, I can get the options from the drop down but the DB is not updated. From what I read it should be. Is there something else I need to set ?
Reply With Quote
  #2  
Old 06-24-2018, 01:00 AM
Marsheng Marsheng is offline
Senior Member
 
Join Date: Nov 2008
Posts: 299
Default

Hmm something a bit more sinister is happening. Nothing on that tab page is being written to the DB ??

Found it finally. Normally when editing grid type displays, moving between records causes a write to occur. When flicking between tabs on a display, no write is done so adding an OnEnter edit and OnExit post does the trick.
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:28 AM.


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