Mr Rao,
I'm afraid that Daniel Garcia Gil made me to release more different from that you published but I tested the source you have pubblished
first error.
I don't see any date in the date controls
on METHOD BuildDialog why you use ::oReserva:Commit() instead of oReserva:save() ?
Second Error
when you open for the first time it is possible that you manage to create the reservation, if you re-open for the second time you do not see the reservation created and you cannot make any more
in fact the procedure creates the record but does not go to save anything as seen in the figure
Third error
on METHOD MoveReservation( oData, nRowId, oPlann ) there is an error when go to save as you can see on picture
Four error
When I try to resize a bar there is strange error as ou can see here
Another test
when you insert a record on plan you see the reservation on window but on archive reserva.dbf you can see only a empty record with no data info
that's why when you exit and re-enter the program you don't see any reservation created
So it's not the error of the indexes but the error is perhaps somewhere else
the error is not in the Tplan class because I assure you that the class works very well
if you want I can show you an example where everything works fine but not with tdatabase / tdata but only in single-user mode (reserva->)