Re: [MSEide-MSEgui-talk] tsequencelink incorrect value assignment

2013-03-21 Thread Martin Schreiber
On Wednesday 20 March 2013 20:59:35 Julio Jiménez wrote: Sequence value is generated before tmsesqlquery.beforepost so if you cancel post a value in the sequence is lost (unassigned) AFAIK there can be unassigned values anyway if the transaction will be canceled later? I think the correct is

Re: [MSEide-MSEgui-talk] tsequencelink incorrect value assignment

2013-03-21 Thread Julio Jiménez
I have no problem in generating sequence value and avoid this 'issue' (in fact I used sequences in mseide before the component was created). I was only pointing out what other database components like ZeosLib and IBX do. If the purpose is that the fileds values are complete in onbeforepost, then

[MSEide-MSEgui-talk] tsequencelink incorrect value assignment

2013-03-20 Thread Julio Jiménez
Sequence value is generated before tmsesqlquery.beforepost so if you cancel post a value in the sequence is lost (unassigned) I think the correct is to generate it after post and if the value is null (dataset field value) -- Julio Jiménez Borreguero