Re: [Lazarus] save the detail record to sqlite

2014-02-28 Thread Reinier Olislagers
On 28/02/2014 08:39, tce tce wrote: Hi, I'm a new user for lazarus. I have tried the Master-Detail tutorial, everything is ok. I tried to save the detail record to the sqlite using the tsqleury post and applyupdate, the screen is ok, but actually not in the sqlite database. I don't know why?

Re: [Lazarus] save the detail record to sqlite

2014-02-28 Thread Antonio Fortuny
Le 28/02/2014 10:09, Reinier Olislagers a écrit : However, I polished my crystal ball and my guess is that you forgot this step: http://wiki.lazarus.freepascal.org/MasterDetail#Adding_detail_records_with_the_right_foreign_key ... Thanks, Reinier Note: also posted on forum: I guess that your

Re: [Lazarus] save the detail record to sqlite

2014-02-28 Thread Reinier Olislagers
On 28/02/2014 11:43, Antonio Fortuny wrote: Mine desn't like polishing so I've built a bunch of rules for this kind of situation where updatable datasets are involved: - always assign an OnNewRecord event and dive the default value to all defined fields (TFields list). I know, some DBMS do it

Re: [Lazarus] What GetChildParent does in designer and reader?

2014-02-28 Thread Mattias Gaertner
On Fri, 28 Feb 2014 01:47:38 +0100 Hans-Peter Diettrich drdiettri...@aol.com wrote: [...] Component DragDrop operations There is no drag when adding a component to a form. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] save the detail record to sqlite

2014-02-28 Thread Antonio Fortuny
Le 28/02/2014 11:48, Reinier Olislagers a écrit : On 28/02/2014 11:43, Antonio Fortuny wrote: Mine desn't like polishing so I've built a bunch of rules for this kind of situation where updatable datasets are involved: - always assign an OnNewRecord event and dive the default value to all

Re: [Lazarus] save the detail record to sqlite

2014-02-28 Thread Reinier Olislagers
On 28/02/2014 12:43, Antonio Fortuny wrote: I'd be happy to write some advices as far as you could consider them as some improvement to the DataSet processing. I guess you mean the wiki page http://wiki.lazarus.freepascal.org/MasterDetail#Adding_detail_records_with_the_right_foreign_key Yes,

Re: [Lazarus] [Brook] HTTP method not allowed for the requested resource

2014-02-28 Thread silvioprog
2014-02-27 4:53 GMT-03:00 Giuseppe glpu...@gmail.com: [...] / Open \brookframework\demos\simple\entity project Build. Copy to cg1.bf to cgi-bin folder http://localhost:8080/cgi-bin/cgi1.bf returns HTTP method not allowed for the requested resource. Didn't worked (with

[Lazarus] [OT] Developing for Android with Pascal and Eclipse?

2014-02-28 Thread silvioprog
Hello, I saw in a post on Facebook, but not tested: http://web.fastermac.net/~MacPgmr/pba/PbaStatus.html I don't know about. -- Silvio Clécio My public projects - github.com/silvioprog -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] [OT] Developing for Android with Pascal and Eclipse?

2014-02-28 Thread Sven Barth
Am 28.02.2014 16:38, schrieb silvioprog: Hello, I saw in a post on Facebook, but not tested: http://web.fastermac.net/~MacPgmr/pba/PbaStatus.html http://web.fastermac.net/%7EMacPgmr/pba/PbaStatus.html I don't know about. It uses FPC's JVM compiler. Not tested either ;) (the Eclipse

Re: [Lazarus] Is this bug ? or how to do?

2014-02-28 Thread FreeMan
Thank you Martin, I was forget and checked it that. I add this lines and now field list opening. RegisterPropertyEditor(TypeInfo(string), TExLookUp, 'DataField', TFieldProperty);//DataSource := Dataset1 RegisterPropertyEditor(TypeInfo(string), TExLookUp, 'ListField',

Re: [Lazarus] Is this bug ? or how to do?

2014-02-28 Thread Martin Frb
On 28/02/2014 16:32, FreeMan wrote: Thank you Martin, I was forget and checked it that. I add this lines and now field list opening. RegisterPropertyEditor(TypeInfo(string), TExLookUp, 'DataField', TFieldProperty);//DataSource := Dataset1 RegisterPropertyEditor(TypeInfo(string), TExLookUp,

Re: [Lazarus] SEGFAULT: difference between pointer and dynarray?

2014-02-28 Thread Egor Skriptunoff
Xiangrong Fang wrote The end of array mark is added by lua52.pas, if you read the source code...   在 六, 12月 29, 2012 at 9:39 下午,leledumbo lt; leledumbo_cool@.co gt; 写道: Reading luaL_newlib documentation and lua52.pas implementation of it (it's a macro in the original C code), I see

Re: [Lazarus] [OT] Developing for Android with Pascal and Eclipse?

2014-02-28 Thread leledumbo
silvioprog wrote Hello, I saw in a post on Facebook, but not tested: http://web.fastermac.net/~MacPgmr/pba/PbaStatus.html I don't know about. The JVM compiler is tested, and I've tested it myself as well. I don't use Eclipse though, the Android SDK has enough tools to build the required