I have bound my appointments to a dataset and have specified a data member (table name). Everything is displaying properly. I need to get able to retrieve an appointment and I'm trying to use the GetAppointmentFromBindingListObject function. I am passing in a DataRowView that maps to one of the datarows in my bound dataset, but it never returns anything. Any help on what I could be doing wrong?
I am using NetAdvantage 12.1 and I have installed the latest service release. I can't go to 12.2 because my project doesn't currently target version 4.0 of the .Net framework.
I'm not sure what to do at this point. My project is written in VB.Net and has about 100 forms and several hundred thousand lines of code. This is not something that I can easily transform into a one-form, simple project. Is there something wrong with my code? It follows all of your suggestions, but doesn't seem to work.
Part 2
Hello Richard,
I try to reproduce your issue, but without success. Please take a look at the attached video file and if you think that I didn`t reproduce your scenario, please let me know. Also could you please tell me what is your current version and do you have any installed service release and which one. Will be very helpful if you send us small sample that reproduce your issue and I`ll be glad to research it for you.
Let me know if you have any questions.
Regards
'set DataBindings for Appointments...
Me.CalendarInfo1.DataBindingsForAppointments.SetDataBinding(Me.dsDataEntryItem, "Schedule_Detail")
Me.CalendarInfo1.DataBindingsForAppointments.BindingContextControl = Me
Me.CalendarInfo1.DataBindingsForAppointments.AllPropertiesMember = "All_Properties"
Me.CalendarInfo1.DataBindingsForAppointments.DataKeyMember = "Schedule_Detail_ID"
Me.CalendarInfo1.DataBindingsForAppointments.DescriptionMember = "Step_Description"
Me.CalendarInfo1.DataBindingsForAppointments.EndDateTimeMember = "Scheduled_End_Date"
Me.CalendarInfo1.DataBindingsForAppointments.OriginalStartDateTimeMember = “Original_Scheduled_Start_Date"
Me.CalendarInfo1.DataBindingsForAppointments.OwnerKeyMember = String.Empty
Me.CalendarInfo1.DataBindingsForAppointments.StartDateTimeMember = "Scheduled_Start_Date"
Me.CalendarInfo1.DataBindingsForAppointments.SubjectMember = "Subject"
'set DataBindings for Owners...
Me.CalendarInfo1.DataBindingsForOwners.SetDataBinding(Me.dsDataEntryItem, "Owners")
Me.CalendarInfo1.DataBindingsForOwners.BindingContextControl = Me
Me.CalendarInfo1.DataBindingsForOwners.AllPropertiesMember = "All_Properties"
Me.CalendarInfo1.DataBindingsForOwners.EmailAddressMember = "EMail_Address"
Me.CalendarInfo1.DataBindingsForOwners.KeyMember = "Owners_ID"
Me.CalendarInfo1.DataBindingsForOwners.NameMember = "Owner_Code"
Me.CalendarInfo1.DataBindingsForOwners.VisibleMember = "Visible"
'bind the control to the CalendarInfo and CalendarLook objects...
Me.DayView1.CalendarInfo = Me.CalendarInfo1
Me.DayView1.CalendarLook = Me.CalendarLook1
Me.WeekView1.CalendarInfo = Me.CalendarInfo1
Me.WeekView1.CalendarLook = Me.CalendarLook1
Me.MonthViewSingle1.CalendarInfo = Me.CalendarInfo1
Me.MonthViewSingle1.CalendarLook = Me.CalendarLook1
Me.TimelineView1.CalendarInfo = Me.CalendarInfo1
Me.TimelineView1.CalendarLook = Me.CalendarLook1
Thanks for attached code, but could you please show me where and how you set your datasource - ultraCalendarInfo1.DataBindingsForAppointments.DataSource