Calling code form another form

mardi 17 février 2015

I have a navigation form and im trying to call a buttons code so it changes the record based on what is selected in ListRecipes (located on Recipe Form). i can get to value form listrecipes to txtrecipename Located On NavigationSubform(Which is a combo box that changes the record)




Code:



Public Sub ListRecipes_AfterUpdate()



Forms![Recipe Form].Form![NavigationSubform]![TxtRecipeName] = [Forms]![Recipe Form]![ListRecipes]



Call [Forms]![Recipe Form]![NavigationSubform].TxtRecipeName_AfterUpdate







End Sub




Calling code form another form

0 commentaires:

Enregistrer un commentaire

Labels