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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

save, and focus in MDI

Status
Not open for further replies.

mettodog

Vendor
Jul 11, 2000
94
US
MDI-
ive got frmNote with txtarea(rtf) on it.

when you click save, i have a form pop up asking for information (no its not a common dialog, the is before the commondlg)things like header information. what i was going to do to find out what form to get information from (for header writing purposes) was formmain.activeform.txtarea but that wont work, because the pop up information form is the now the active form instead of the form that is being saved from. what can i do to get around this?
 
Have a module level variable of type Form, and when Save is clicked, set the form variable to the current active form.

Simon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top