J
Jay
I am working on the application which has a number of sub-form being swapped
out during data entry. The object control name is: "fra_Embed_fsub_Dataforms"
and here is a sample of the code behind the toggle buttons doing the swapping:
Select Case Me![fraSwapForms]
Case 1
Me![fra_Embed_fsub_Dataforms].SourceObject =
"frm_Product_BeerBtlsInfoData_Collection"
Case 2
Me![fra_Embed_fsub_Dataforms].SourceObject =
"frm_Product_BourbonInfoData_Collection"
Case 3
Me![fra_Embed_fsub_Dataforms].SourceObject =
"frm_Product_BrandyInfoData_Collection"
Case Else
MsgBox "This Selection Does Not Exist"
End Select
In the "AfterUpdate" section of the parent form. Now, this thing is not
working as it used to, I keep an error pointing the
"fra_Embed_fsub_Dataforms" control name. ALL the other sub-forms have their
own control frames and names. Is there a way to apply the same frame control
name to ALL sub-forms?
HELP??? Any assistance will be welcome.
Thanks,
out during data entry. The object control name is: "fra_Embed_fsub_Dataforms"
and here is a sample of the code behind the toggle buttons doing the swapping:
Select Case Me![fraSwapForms]
Case 1
Me![fra_Embed_fsub_Dataforms].SourceObject =
"frm_Product_BeerBtlsInfoData_Collection"
Case 2
Me![fra_Embed_fsub_Dataforms].SourceObject =
"frm_Product_BourbonInfoData_Collection"
Case 3
Me![fra_Embed_fsub_Dataforms].SourceObject =
"frm_Product_BrandyInfoData_Collection"
Case Else
MsgBox "This Selection Does Not Exist"
End Select
In the "AfterUpdate" section of the parent form. Now, this thing is not
working as it used to, I keep an error pointing the
"fra_Embed_fsub_Dataforms" control name. ALL the other sub-forms have their
own control frames and names. Is there a way to apply the same frame control
name to ALL sub-forms?
HELP??? Any assistance will be welcome.
Thanks,