Re: [MSEide-MSEgui-talk] pascal syntax highlighter problem

2012-02-10 Thread Graeme Geldenhuys
On 9 February 2012 19:52, Martin Schreiber wrote: Please try again with git master 54772f48614d981251452ccb9d79e4c3382fc22d. Additional change your Pascal *.sdef files: Thanks again, now it works fine. -- Regards,   - Graeme - ___ fpGUI - a

[MSEide-MSEgui-talk] database question: how do you....

2012-02-10 Thread jPatrick
I am developing an app the manipulates database data. I build sql statements depending on what the users is doing. How do you build an insert statement in program code? I do something like: with stmtUpdate do begin sql.clear; sql.add ('Insert into history (createdbyid, createts, userid,

Re: [MSEide-MSEgui-talk] database question: how do you....

2012-02-10 Thread IvankoB for-mse
I don't want to have separate insert statements for 5, 6, 7, more/less variiables = Does it mean that not-assigned params will expect NULL values which are the defaults thus don't need special care but assigning data type ? 2012/2/10, jPatrick pgoup...@upmerchants.com: I am developing

[MSEide-MSEgui-talk] tsqlstaement access error.

2012-02-10 Thread Patrick
create a new project from template. add a button to the form and set its onexecute handler. in the onexecute proecdure add a tsqlstatement variable. add a tsqlstatementvariable.create (self) statement. run the program and click the button. I get an access error.

Re: [MSEide-MSEgui-talk] tsqlstaement access error.

2012-02-10 Thread IvankoB for-mse
Does sInsert:= tsqlstatement.create (self); produce the access error too ? 2012/2/11, Patrick pgoup...@upmerchants.com: create a new project from template. add a button to the form and set its onexecute handler. in the onexecute proecdure add a tsqlstatement variable. add a

Re: [MSEide-MSEgui-talk] tsqlstaement access error.

2012-02-10 Thread Patrick
Does sInsert:= tsqlstatement.create (self); produce the access error too ? No. That works. So why does it work your way and not the way I was doing it? -- Virtualization Cloud Management Using Capacity

Re: [MSEide-MSEgui-talk] tsqlstaement access error.

2012-02-10 Thread Patrick
After checking very closely other parts of my program that create components, I see where I was going wrong. It looked like it was correct but wasn't. Can't see the forest, too many trees in the way. --

Re: [MSEide-MSEgui-talk] database question: how do you....

2012-02-10 Thread Martin Schreiber
On Friday, 10. February 2012 16.06:09 jPatrick wrote: My problem is I have a changing number of fields to insert. I don't want to have separate insert statements for 5, 6, 7, more/less variiables. U want to set the params count, datatype, name, paramtype in program code. I tried

Re: [MSEide-MSEgui-talk] about tdropdownwidgetcontroller

2012-02-10 Thread Martin Schreiber
On Friday, 10. February 2012 09.38:33 liuzg2 wrote: On Friday, 10. February 2012 08.17:13 liuzg2 wrote: tdropdownwidgetcontroller tdirdropdownedit tcalendardatetimeedit it must close dropdown without select use key [esc] and tdropdownlistcontroller can close dropdown without select