| | |
| | | ParticipationID := [String]Key::NextPersistentKey(), |
| | | StartDate := start_i.Date( timezone ), |
| | | EndDate := end_i .Date( timezone ) ); |
| | | info( '----------------------', isnull( sLeadPart ) ); |
| | | //info( '----------------------', isnull( sLeadPart ) ); |
| | | // Set the Participation and the related controls |
| | | // (only the DataHolders, the Date-controls are set later on, after the recurrence has been initialized) |
| | | dhStartDate.Data( sLeadPart.StartDate() ); |
| | | //dhEndDate.Data( sLeadPart.EndDate() ); |
| | | dhLeadingParticipation.Data( &sLeadPart ); |
| | | info( '-----------------------', isnull( dhLeadingParticipation.Data() ) ); |
| | | //info( '-----------------------', isnull( dhLeadingParticipation.Data() ) ); |
| | | |
| | | // Initialize the capacity here, when done in the OnCreate() edtCapacity is not disabled correctly. |
| | | this.InitializeCapacity(); |