C
Chad
I have a subform embedded within a form linked by master and child fields. I
would like to interchange the source object of the subform container,
however, I am constantly getting the error:
***********************************************************
Run-time error '2101':
The setting you entered isn't valid for this property.
***********************************************************
Below please see different things I have tried to get this to work:
Method 1 (I get the error above and it refers to this line of code):
Forms![frmDisbursementEdit].[sfrmDisbursementEdit].SourceObject =
"sfrmCheckDetailUpdate"
Method 2 (I do not get the error but the subform is blank)
Forms![frmDisbursementEdit].[sfrmDisbursementEdit].SourceObject =
sfrmCheckDetailUpdate
Method 3 (I get the above error when referring the master or child fields)
Forms![frmDisbursementEdit].[sfrmDisbursementEdit].SourceObject =
sfrmCheckDetailUpdate
Forms![frmDisbursementEdit].[sfrmDisbursementEdit].LinkChildFields = "DISB_ID"
Forms![frmDisbursementEdit].[sfrmDisbursementEdit].LinkMasterFields =
"DISB_ID"
Any insight as to why this is happening would be greatly appreciated.
Thanks!
would like to interchange the source object of the subform container,
however, I am constantly getting the error:
***********************************************************
Run-time error '2101':
The setting you entered isn't valid for this property.
***********************************************************
Below please see different things I have tried to get this to work:
Method 1 (I get the error above and it refers to this line of code):
Forms![frmDisbursementEdit].[sfrmDisbursementEdit].SourceObject =
"sfrmCheckDetailUpdate"
Method 2 (I do not get the error but the subform is blank)
Forms![frmDisbursementEdit].[sfrmDisbursementEdit].SourceObject =
sfrmCheckDetailUpdate
Method 3 (I get the above error when referring the master or child fields)
Forms![frmDisbursementEdit].[sfrmDisbursementEdit].SourceObject =
sfrmCheckDetailUpdate
Forms![frmDisbursementEdit].[sfrmDisbursementEdit].LinkChildFields = "DISB_ID"
Forms![frmDisbursementEdit].[sfrmDisbursementEdit].LinkMasterFields =
"DISB_ID"
Any insight as to why this is happening would be greatly appreciated.
Thanks!