Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
315
Problem saving Recurrence
posted

We have some trouble with WinSchedule in Version 8.3.20083.2138 (I know, old version, but our customer is still using this one). When saving an UltraWinSchedule.AppointmentRecurrence object to a byte array all variances are lost. Example in VB.NET:

Dim count1 = myRecurrence.Variances.Count
Dim b As Byte() = myRecurrence.Save()
Dim r2 As AppointmentRecurrence = AppointmentRecurrence.FromBytes(b)
Dim count2 = r2.Variances.Count

count1 is "1" while count2 is "0" (should also be 1). All other properties are restored besides this one. What is going wrong? And how can we save variances to database if this code is not working?
Regards
Neils

Parents
No Data
Reply Children