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
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
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
3 matches
Mail list logo