bentheimmigrant
Lost & confused
- Local time
- Today, 21:09
- Joined
- Aug 21, 2015
- Messages
- 60
So, I have the current setup:
Main form: Main
Tabbed control: NavigationSubform
Tabs: Reports, Calculations, Drawings, Datasheets
Each tab holds a subform with the name Tab_<tab name>
The subforms are all in datasheet view.
I would like to have a control box on the main form which, when you click on a tab and select one of the records on that tab, it receives the field (Doc_Number) of the selected record in the selected tab.
Is there a generic way to do this, so that I can add more tabs in the future if they're needed (i.e. query "Doc_Number" from the currently selected tab)?
I think I want something similar to what was was discussed here regarding a combobox:
forums/showthread.php?t=212911 (can't post links yet - that's a thread on these forums)
So I started with:
[Forms]![Main]![NavigationSubform].[Form].[Doc_Number]
(I don't think brackets matter, though?)
Any help would be appreciated.
Main form: Main
Tabbed control: NavigationSubform
Tabs: Reports, Calculations, Drawings, Datasheets
Each tab holds a subform with the name Tab_<tab name>
The subforms are all in datasheet view.
I would like to have a control box on the main form which, when you click on a tab and select one of the records on that tab, it receives the field (Doc_Number) of the selected record in the selected tab.
Is there a generic way to do this, so that I can add more tabs in the future if they're needed (i.e. query "Doc_Number" from the currently selected tab)?
I think I want something similar to what was was discussed here regarding a combobox:
forums/showthread.php?t=212911 (can't post links yet - that's a thread on these forums)
So I started with:
[Forms]![Main]![NavigationSubform].[Form].[Doc_Number]
(I don't think brackets matter, though?)
Any help would be appreciated.