Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I get the Active SubForm Name into

Status
Not open for further replies.

cuok

Programmer
Dec 24, 2001
201

Hi friends!

How can I get the Active SubForm Name when it is NOT IN focus , LETS SAY I NEED THE OPOSITE OF "Parent" COMMAND !

thank to any help
CUOK



 
There is not Screen.ActiveSubForm command. But you could declare a public (global) variable (i.e. gstrSubformName) and in the OnEnter property of the subform control, set gstrSubformName to the name of the subform. In the OnExit property of the subform control, set gstrSubformName = vbNullString.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top