accessonly11
Member
- Local time
- Today, 23:52
- Joined
- Aug 20, 2022
- Messages
- 91
i am trying to get focus  on subform control which have two parent forms
Main Form>Navigation Subform>OrderlineSubform.Control ProductID combo
how it is possible to get focus on this subform and then its control via add new button located on navigationSubform
i tried these two codes but failed and getting this error
[Forms]![Navigation Form]![NavigationSubform].[Form]![SaleDataSubform].SetFocus
[Forms]![Navigation Form]![NavigationSubform].[Form]![SaleDataSubform].[Form]![ProductID].SetFocus
Runtime error 2110
Microsoft Access can't move the focus to the control SaleDataSubform
 Main Form>Navigation Subform>OrderlineSubform.Control ProductID combo
how it is possible to get focus on this subform and then its control via add new button located on navigationSubform
i tried these two codes but failed and getting this error
[Forms]![Navigation Form]![NavigationSubform].[Form]![SaleDataSubform].SetFocus
[Forms]![Navigation Form]![NavigationSubform].[Form]![SaleDataSubform].[Form]![ProductID].SetFocus
Runtime error 2110
Microsoft Access can't move the focus to the control SaleDataSubform
			
				Last edited: 
			
		
	
								
								
									
	
		
			
		
		
	
	
	
		
			
		
		
	
								
							
							 
	 
 
		 
 
		 
 
		 
 
		 
 
		