TDBLookupComboBox Bug ? lazarus / 31-LCL ---------------------------------------------------------------------- Serpente80 · 2012-11-29 10:25 I have 2 DataSource and 2 Sqlite3dataset, the DBlookupcombobox can't obtain the datafield. I had set datasource, datafield, listsource and listfield, but does'nt work, instead dbedit or dbcombobox works whith almost the same settings. It is a bug or my error ? edit: The OS is Windows. ---------------------------------------------------------------------- taazz · 2012-11-29 10:33 please post your fpc version. There is a bug with FPC 2.6.0 that requires the listfield to be present in the datasource as well, you can bypass it by declaring a calculated field with the same name as the listfield in the datasource's dataset that does nothing. ---------------------------------------------------------------------- BigChimp · 2012-11-29 10:38 Thanks Taazz, took the liberty of updating http://wiki.lazarus.freepascal.org/Databases#Single_Field_Controls ---------------------------------------------------------------------- Serpente80 · 2012-11-29 10:43 Quote from: taazz on November 29, 2012, 11:33:54 amplease post your fpc version. There is a bug with FPC 2.6.0 that requires the listfield to be present in the datasource as well, you can bypass it by declaring a calculated field with the same name as the listfield in the datasource's dataset that does nothing. I'm using Lazarus 1.0 FPC 2.6.0. Same problem with Lazarus 1.0.2. ---------------------------------------------------------------------- BigChimp · 2012-11-29 10:46 1.0.2 is also based on FPC 2.6.0 ---------------------------------------------------------------------- Serpente80 · 2012-11-29 10:50 Quote from: BigChimp on November 29, 2012, 11:46:13 am1.0.2 is also based on FPC 2.6.0 I'm in office can't check that  Thanks for the answers ! ---------------------------------------------------------------------- BigChimp · 2012-11-29 11:01 Quote from: Serpente80 on November 29, 2012, 11:50:06 amQuote from: BigChimp on November 29, 2012, 11:46:13 am1.0.2 is also based on FPC 2.6.0 I'm in office can't check that  Hmmm, if your office is blocking http://lazarus.freepascal.org/index.php/topic,18538.0.html they're both paranoid and random ---------------------------------------------------------------------- taazz · 2012-11-29 11:10 Quote from: BigChimp on November 29, 2012, 11:38:39 amThanks Taazz, took the liberty of updating http://wiki.lazarus.freepascal.org/Databases#Single_Field_Controls thank you, I have a mortal allergy to wiki and I'm staying as far as possible from it sorry about that. ---------------------------------------------------------------------- BigChimp · 2012-11-29 11:29 Quote from: taazz on November 29, 2012, 12:10:25 pmQuote from: BigChimp on November 29, 2012, 11:38:39 amThanks Taazz, took the liberty of updating http://wiki.lazarus.freepascal.org/Databases#Single_Field_Controls thank you, I have a mortal allergy to wiki and I'm staying as far as possible from it sorry about that. No problems, just write my tsdfdataset csv test suite already ---------------------------------------------------------------------- taazz · 2012-11-29 11:39 Quote from: BigChimp on November 29, 2012, 12:29:04 pmNo problems, just write my tsdfdataset csv test suite already I'm finishing up a small todo list application for my personal use and after that is done I'll write those test before moving on to my other projects. Hopefully it will be over some time next week the latest. If you are interest in compiling  the todo list for linux drop me a pm. ---------------------------------------------------------------------- BigChimp · 2012-11-29 12:03 Quote from: taazz on November 29, 2012, 12:39:32 pmQuote from: BigChimp on November 29, 2012, 12:29:04 pmNo problems, just write my tsdfdataset csv test suite already I'm finishing up a small todo list application for my personal use and after that is done I'll write those test before moving on to my other projects. Hopefully it will be over some time next week the latest. If you are interest in compiling  the todo list for linux drop me a pm. Thanks a lot Jo, I appreciate it!