I am assisting a friend with a database that has the following:
MainForm(frmMain), SubForm(frmSF1), a Tab Control with 3 pages, the third page has a subform(frmTCSF1).
The subform on the 3rd page of the tab control has a continuous form displaying a number of records. A command button in each row when clicked should return the focus to the 1st page of the tab control to a control named [RecipID]. There are other things necessary to be performed but the first step is to just understand the referencing of controls given the above situation. So if we can just transfer the focus from this nested subform continuous form command button to other locations on the form( frmMain, frmSF1, etc.) we can probably figure out the rest. We have tried many combinations but have not found one that works.
I have tried the simple Forms![frmMain].ControlName to transfer focus up to the main form and that doesn't work. (Error: This object doesn't support the method)
I am a little stumped here as I don't use the tab control much but am willing to learn through this posting. Need a little help TT guys.
Bob Scriver
MainForm(frmMain), SubForm(frmSF1), a Tab Control with 3 pages, the third page has a subform(frmTCSF1).
The subform on the 3rd page of the tab control has a continuous form displaying a number of records. A command button in each row when clicked should return the focus to the 1st page of the tab control to a control named [RecipID]. There are other things necessary to be performed but the first step is to just understand the referencing of controls given the above situation. So if we can just transfer the focus from this nested subform continuous form command button to other locations on the form( frmMain, frmSF1, etc.) we can probably figure out the rest. We have tried many combinations but have not found one that works.
I have tried the simple Forms![frmMain].ControlName to transfer focus up to the main form and that doesn't work. (Error: This object doesn't support the method)
I am a little stumped here as I don't use the tab control much but am willing to learn through this posting. Need a little help TT guys.
Bob Scriver