Just FYI, the funny thing you are fighting here, and if you look at the code, you will see that there is no such thing as a MaintenanceForm in SF. The MaintenanceForm is just a template that comes with the framework the places a MaintenanceFormToolstrip on the form. So if you are using a MaintenanceForm, you are actually using a StandardForm. So this would alude to a configuration or code problem within your application. Just thought this might point you in the right direction.
I fixed the Fire Walls issue on the server level so it is possible to download the zip files. I understand where you are coming from, but the properly which is responsible to disable the child field is OFF. Even though I made it to work in a different way, I would like to understand what else can cause this problem again. I am still learning SF and .Net so I can easily over look something simple. Also please let me know when you Save at least one record if you see any delay in the Save mode - just curious.
Thanks,
Doron
I looked at your sample...and as I mentioned on a previous post, we do not have MaintenanceFormClass. Your problem is actually very simple. First, when you setup a test environment, make sure that you have the same code in both places...in this case you didn't (i.e. The Navigated event of the Members BO).
In order to make the form1 work, you will need to do the following:
If I remove the code found in the navigated method then when I click Next, Previous etc.. the child record will not be shown. Unless you have other suggestions to show the child record the below code works now:Private Sub MemberInfoBO1_Navigated(ByVal e As MicroFour.StrataFrame.Business.NavigatedEventArgs) Handles MemberInfoBO1.NavigatedIf Me.MemberInfoBO1.CurrentRow.RowState <> Data.DataRowState.Added Then If Me.MemberInfoBO1.Count > 0 Then Me.AddressMemBO1.FillByParentPrimaryKey(Me.MemberInfoBO1.MemberInfo_PK) Else Me.AddressMemBO1.Refresh() End IfEnd IfEnd SubDid run the form one time? Just worndered if you saved one record.
Regards,