Here are the files. See attach. please Best Regards
2014-06-11 12:09 GMT+01:00 Martin Schreiber <mse00...@gmail.com>: > On Wednesday 11 June 2014 13:01:17 Med Hamza wrote: > > First, my sincere thanks for your help and your patience. > > > > I noticed, when I post the record added I can see the generator > > incremented by 1, but when I refresh the record previously added I can > see > > default value but the generator is incremented a second time? > > > > Here is the main.mfm > > > Please send the complete project, all necessary *.pas and *.mfm files and a > minimal database file but without the application binary. I need to step > through the running application in order to check what happens. > > Martin > > > ------------------------------------------------------------------------------ > HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions > Find What Matters Most in Your Big Data with HPCC Systems > Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. > Leverages Graph Analysis for Fast Processing & Easy Data Exploration > http://p.sf.net/sfu/hpccsystems > _______________________________________________ > mseide-msegui-talk mailing list > mseide-msegui-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk >
database
Description: Binary data
main.mfm
Description: Binary data
unit main; {$ifdef FPC}{$mode objfpc}{$h+}{$endif} interface uses msetypes,mseglob,mseguiglob,mseguiintf,mseapplication,msestat,msemenus,msegui, msegraphics,msegraphutils,mseevent,mseclasses,msewidgets,mseforms,msedatabase, msesqlite3conn,sysutils,mdb,msebufdataset,msedb,mseifiglob,msesqldb,msqldb, msedataedits,msedbedit,mseedit,msegraphedits,msegrids,mseificomp, mseificompglob,mselookupbuffer,msescrollbar,msestrings,msedbdispwidgets, mseibconnection,msedbevents; type tmainfo = class(tmainform) tmsedatasource1: tmsedatasource; tmsesqlquery1: tmsesqlquery; tdbnavigator1: tdbnavigator; tdbstringedit1: tdbstringedit; tmseibconnection1: tmseibconnection; tmsesqltransaction1: tmsesqltransaction; tdbstringdisp1: tdbstringdisp; tdbintegeredit1: tdbintegeredit; tsequencelink1: tsequencelink; end; var mainfo: tmainfo; implementation uses main_mfm; end.
unit main_mfm; {$ifdef FPC}{$mode objfpc}{$h+}{$endif} interface implementation uses mseclasses,main; const objdata: record size: integer; data: array[0..2347] of byte end = (size: 2348; data: ( 84,80,70,48,7,116,109,97,105,110,102,111,6,109,97,105,110,102,111,8, 98,111,117,110,100,115,95,120,2,16,8,98,111,117,110,100,115,95,121,3, 72,1,9,98,111,117,110,100,115,95,99,120,3,147,1,9,98,111,117,110, 100,115,95,99,121,3,24,1,16,99,111,110,116,97,105,110,101,114,46,98, 111,117,110,100,115,1,2,0,2,0,3,147,1,3,24,1,0,15,109,111, 100,117,108,101,99,108,97,115,115,110,97,109,101,6,9,116,109,97,105,110, 102,111,114,109,0,12,116,100,98,110,97,118,105,103,97,116,111,114,13,116, 100,98,110,97,118,105,103,97,116,111,114,49,8,98,111,117,110,100,115,95, 120,2,104,8,98,111,117,110,100,115,95,121,2,8,10,100,97,116,97,115, 111,117,114,99,101,7,15,116,109,115,101,100,97,116,97,115,111,117,114,99, 101,49,20,100,105,97,108,111,103,98,117,116,116,111,110,46,105,109,97,103, 101,110,114,2,17,17,100,105,97,108,111,103,98,117,116,116,111,110,46,104, 105,110,116,6,6,68,105,97,108,111,103,18,100,105,97,108,111,103,98,117, 116,116,111,110,46,115,116,97,116,101,11,11,97,115,95,100,105,115,97,98, 108,101,100,12,97,115,95,105,110,118,105,115,105,98,108,101,16,97,115,95, 108,111,99,97,108,100,105,115,97,98,108,101,100,17,97,115,95,108,111,99, 97,108,105,110,118,105,115,105,98,108,101,17,97,115,95,108,111,99,97,108, 105,109,97,103,101,108,105,115,116,15,97,115,95,108,111,99,97,108,105,109, 97,103,101,110,114,18,97,115,95,108,111,99,97,108,99,111,108,111,114,103, 108,121,112,104,12,97,115,95,108,111,99,97,108,104,105,110,116,17,97,115, 95,108,111,99,97,108,111,110,101,120,101,99,117,116,101,0,0,0,13,116, 100,98,115,116,114,105,110,103,101,100,105,116,14,116,100,98,115,116,114,105, 110,103,101,100,105,116,49,11,102,114,97,109,101,46,100,117,109,109,121,2, 0,8,116,97,98,111,114,100,101,114,2,1,8,98,111,117,110,100,115,95, 120,2,40,8,98,111,117,110,100,115,95,121,3,144,0,9,98,111,117,110, 100,115,95,99,120,3,84,1,19,100,97,116,97,108,105,110,107,46,100,97, 116,97,115,111,117,114,99,101,7,15,116,109,115,101,100,97,116,97,115,111, 117,114,99,101,49,18,100,97,116,97,108,105,110,107,46,102,105,101,108,100, 110,97,109,101,6,3,76,73,66,13,114,101,102,102,111,110,116,104,101,105, 103,104,116,2,14,0,0,13,116,100,98,115,116,114,105,110,103,100,105,115, 112,14,116,100,98,115,116,114,105,110,103,100,105,115,112,49,11,102,114,97, 109,101,46,100,117,109,109,121,2,0,8,116,97,98,111,114,100,101,114,2, 2,8,98,111,117,110,100,115,95,120,2,48,8,98,111,117,110,100,115,95, 121,3,232,0,9,98,111,117,110,100,115,95,99,121,2,18,19,100,97,116, 97,108,105,110,107,46,100,97,116,97,115,111,117,114,99,101,7,15,116,109, 115,101,100,97,116,97,115,111,117,114,99,101,49,18,100,97,116,97,108,105, 110,107,46,102,105,101,108,100,110,97,109,101,6,4,67,79,68,69,13,114, 101,102,102,111,110,116,104,101,105,103,104,116,2,14,0,0,14,116,100,98, 105,110,116,101,103,101,114,101,100,105,116,15,116,100,98,105,110,116,101,103, 101,114,101,100,105,116,49,11,102,114,97,109,101,46,100,117,109,109,121,2, 0,8,116,97,98,111,114,100,101,114,2,3,8,98,111,117,110,100,115,95, 120,3,232,0,8,98,111,117,110,100,115,95,121,3,232,0,19,100,97,116, 97,108,105,110,107,46,100,97,116,97,115,111,117,114,99,101,7,15,116,109, 115,101,100,97,116,97,115,111,117,114,99,101,49,18,100,97,116,97,108,105, 110,107,46,102,105,101,108,100,110,97,109,101,6,6,78,84,73,69,82,83, 13,114,101,102,102,111,110,116,104,101,105,103,104,116,2,14,0,0,14,116, 109,115,101,100,97,116,97,115,111,117,114,99,101,15,116,109,115,101,100,97, 116,97,115,111,117,114,99,101,49,7,68,97,116,97,83,101,116,7,13,116, 109,115,101,115,113,108,113,117,101,114,121,49,4,108,101,102,116,2,48,3, 116,111,112,2,104,0,0,12,116,109,115,101,115,113,108,113,117,101,114,121, 13,116,109,115,101,115,113,108,113,117,101,114,121,49,6,65,99,116,105,118, 101,9,6,112,97,114,97,109,115,14,0,8,83,81,76,46,100,97,116,97, 1,6,37,115,101,108,101,99,116,32,32,42,32,102,114,111,109,32,116,105, 101,114,115,32,111,114,100,101,114,32,98,121,32,110,116,105,101,114,115,59, 0,14,83,81,76,73,110,115,101,114,116,46,100,97,116,97,1,6,39,105, 110,115,101,114,116,32,105,110,116,111,32,116,105,101,114,115,32,40,108,105, 98,41,32,118,97,108,117,101,115,32,40,58,108,105,98,41,32,59,0,9, 73,110,100,101,120,68,101,102,115,14,1,4,78,97,109,101,6,13,82,68, 66,36,80,82,73,77,65,82,89,52,57,0,0,9,116,97,98,108,101,110, 97,109,101,6,5,116,105,101,114,115,8,100,97,116,97,98,97,115,101,7, 17,116,109,115,101,105,98,99,111,110,110,101,99,116,105,111,110,49,11,84, 114,97,110,115,97,99,116,105,111,110,7,19,116,109,115,101,115,113,108,116, 114,97,110,115,97,99,116,105,111,110,49,9,70,105,101,108,100,68,101,102, 115,14,1,4,78,97,109,101,6,6,78,84,73,69,82,83,8,68,97,116, 97,84,121,112,101,7,9,102,116,73,110,116,101,103,101,114,9,80,114,101, 99,105,115,105,111,110,2,255,4,83,105,122,101,2,0,0,1,4,78,97, 109,101,6,4,67,79,68,69,8,68,97,116,97,84,121,112,101,7,8,102, 116,83,116,114,105,110,103,9,80,114,101,99,105,115,105,111,110,2,255,4, 83,105,122,101,2,1,0,1,4,78,97,109,101,6,4,65,68,82,49,8, 68,97,116,97,84,121,112,101,7,8,102,116,83,116,114,105,110,103,9,80, 114,101,99,105,115,105,111,110,2,255,4,83,105,122,101,2,50,0,1,4, 78,97,109,101,6,4,65,68,82,50,8,68,97,116,97,84,121,112,101,7, 8,102,116,83,116,114,105,110,103,9,80,114,101,99,105,115,105,111,110,2, 255,4,83,105,122,101,2,50,0,1,4,78,97,109,101,6,4,84,69,76, 49,8,68,97,116,97,84,121,112,101,7,8,102,116,83,116,114,105,110,103, 9,80,114,101,99,105,115,105,111,110,2,255,4,83,105,122,101,2,50,0, 1,4,78,97,109,101,6,3,78,82,67,8,68,97,116,97,84,121,112,101, 7,8,102,116,83,116,114,105,110,103,9,80,114,101,99,105,115,105,111,110, 2,255,4,83,105,122,101,2,16,0,1,4,78,97,109,101,6,3,78,73, 70,8,68,97,116,97,84,121,112,101,7,8,102,116,83,116,114,105,110,103, 9,80,114,101,99,105,115,105,111,110,2,255,4,83,105,122,101,2,20,0, 1,4,78,97,109,101,6,2,78,65,8,68,97,116,97,84,121,112,101,7, 8,102,116,83,116,114,105,110,103,9,80,114,101,99,105,115,105,111,110,2, 255,4,83,105,122,101,2,12,0,1,4,78,97,109,101,6,6,67,79,77, 80,84,69,8,68,97,116,97,84,121,112,101,7,8,102,116,83,116,114,105, 110,103,9,80,114,101,99,105,115,105,111,110,2,255,4,83,105,122,101,2, 16,0,1,4,78,97,109,101,6,6,65,71,69,78,67,69,8,68,97,116, 97,84,121,112,101,7,8,102,116,83,116,114,105,110,103,9,80,114,101,99, 105,115,105,111,110,2,255,4,83,105,122,101,2,3,0,1,4,78,97,109, 101,6,3,76,73,66,8,68,97,116,97,84,121,112,101,7,8,102,116,83, 116,114,105,110,103,9,80,114,101,99,105,115,105,111,110,2,255,4,83,105, 122,101,2,50,0,0,18,99,111,110,116,114,111,108,108,101,114,46,111,112, 116,105,111,110,115,11,8,100,115,111,95,117,116,102,56,13,100,115,111,95, 97,117,116,111,97,112,112,108,121,17,100,115,111,95,97,117,116,111,99,111, 109,109,105,116,114,101,116,0,4,108,101,102,116,2,56,3,116,111,112,2, 72,0,0,16,116,109,115,101,105,98,99,111,110,110,101,99,116,105,111,110, 17,116,109,115,101,105,98,99,111,110,110,101,99,116,105,111,110,49,9,67, 111,110,110,101,99,116,101,100,9,12,68,97,116,97,98,97,115,101,78,97, 109,101,6,30,47,114,111,111,116,47,112,114,111,106,101,99,116,47,70,68, 66,47,115,116,111,99,107,97,103,101,46,102,100,98,8,80,97,115,115,119, 111,114,100,6,9,109,97,115,116,101,114,107,101,121,11,84,114,97,110,115, 97,99,116,105,111,110,7,19,116,109,115,101,115,113,108,116,114,97,110,115, 97,99,116,105,111,110,49,8,85,115,101,114,78,97,109,101,6,6,83,89, 83,68,66,65,7,68,105,97,108,101,99,116,2,3,7,111,112,116,105,111, 110,115,11,12,105,98,111,95,101,109,98,101,100,100,101,100,0,4,108,101, 102,116,3,232,0,3,116,111,112,2,72,0,0,18,116,109,115,101,115,113, 108,116,114,97,110,115,97,99,116,105,111,110,19,116,109,115,101,115,113,108, 116,114,97,110,115,97,99,116,105,111,110,49,6,65,99,116,105,118,101,9, 8,68,97,116,97,98,97,115,101,7,17,116,109,115,101,105,98,99,111,110, 110,101,99,116,105,111,110,49,4,108,101,102,116,3,144,0,3,116,111,112, 3,192,0,0,0,13,116,115,101,113,117,101,110,99,101,108,105,110,107,14, 116,115,101,113,117,101,110,99,101,108,105,110,107,49,8,100,97,116,97,98, 97,115,101,7,17,116,109,115,101,105,98,99,111,110,110,101,99,116,105,111, 110,49,10,100,97,116,97,115,111,117,114,99,101,7,15,116,109,115,101,100, 97,116,97,115,111,117,114,99,101,49,9,100,97,116,97,102,105,101,108,100, 6,6,110,116,105,101,114,115,12,115,101,113,117,101,110,99,101,110,97,109, 101,6,8,99,112,116,116,105,101,114,115,4,108,101,102,116,3,240,0,3, 116,111,112,2,104,0,0,0) ); initialization registerobjectdata(@objdata,tmainfo,''); end.
program pp; {$ifdef FPC}{$mode objfpc}{$h+}{$endif} {$ifdef FPC} {$ifdef mswindows}{$apptype gui}{$endif} {$endif} uses {$ifdef FPC}{$ifdef unix}cthreads,{$endif}{$endif} msegui,main; begin application.createform(tmainfo,mainfo); application.run; end.
pp.prj
Description: Binary data
------------------------------------------------------------------------------ HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing & Easy Data Exploration http://p.sf.net/sfu/hpccsystems
_______________________________________________ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk