Hi there,
I have a navigation form which has 2 tabs. One is contains all the records in the table, I show them using a datasheetview, the 2 tab ( or navigation button) shows the details of the records.
this works ok, the user select the record in the datasheetview and can click in the 2 tab to see more details.
But the the user wants to access the 2 tab wen double clicking in a a record in the datasheetview. I thought was easy.. :-/ . but I have problems
What I have done is:
1) on event Double click of the datasheetview I put the setfocus in the tab 2
Me.Parent.Parent!NavigationButton9.SetFocus
2 ) in the gotfocus of tab2 I call the click event
Call NavigationButton9_Click
When I hit the click event Access crashes... So obviously I cannot use this approach...
I have access 2016. Any idea on how to tackle this?
Thanks!
Alex