I have o datagrid with fields named "Start" and "Duration" like the rows drag and drop shipped orders one.
When I add a new record I would like it to autopopulate the "Start" field with the "Start+Duration" value from the previous record (Start2=Start1+Duration1)
Example Recordset
Record 1, Start=0, Duration=500
Record 2, Start=500, Duration=1000
Record 3, Start=1500, Duration = 100
Record 4, Start=1600, Duration = 1500
...
How could i achieve this?
Thank you very much.
When I add a new record I would like it to autopopulate the "Start" field with the "Start+Duration" value from the previous record (Start2=Start1+Duration1)
Example Recordset
Record 1, Start=0, Duration=500
Record 2, Start=500, Duration=1000
Record 3, Start=1500, Duration = 100
Record 4, Start=1600, Duration = 1500
...
How could i achieve this?
Thank you very much.