<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1170" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=670581117-30062003><FONT face="Comic Sans MS" color=#0000ff 
size=2>I make CalledFrom a property of my forms.  Then I can pass the 
calling form's name in the OpenArgs string and let the called form populate its 
own property.  When I close the called form, it checks its CalledFrom 
property and goes back to that.  In 2002 you can do this with Reports as 
well.</FONT></SPAN></DIV>
<DIV><SPAN class=670581117-30062003><FONT face="Comic Sans MS" color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=670581117-30062003><FONT face="Comic Sans MS" color=#0000ff 
size=2>Charlotte Foust</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
  face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Hale, Jim 
  [mailto:jim.hale@fleetpride.com] <BR><B>Sent:</B> Monday, June 30, 2003 6:04 
  AM<BR><B>To:</B> 'Access DatabaseAdvisors (E-Mail)'<BR><B>Subject:</B> 
  [AccessD] How do I determine which form called?<BR><BR></FONT></DIV>
  <P><FONT face=Arial size=2>Does anyone have a function that will allow a class 
  to determine which form called it? TIA</FONT> <BR><FONT face=Arial size=2>Jim 
  Hale</FONT> </P></BLOCKQUOTE></BODY></HTML>