<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1141" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY style="MARGIN-TOP: 2px; FONT: 10pt MS Sans Serif; MARGIN-LEFT: 2px"
bgColor=#ffffff>
<DIV><FONT face=Arial>Terri</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>...if its a single record subform, try something like
this. </FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV>...on your SubCashCtl subform, set the Comments control's OnExit property
to an event, then place this in its CBF: <PRE><FONT face=Arial> Private Sub Comments_Exit(Cancel As Integer)
Forms![CashReceipts]![nameCbo].SetFocus
Exit Sub</FONT></PRE><PRE><FONT face=Arial> End Sub</FONT></PRE><PRE><FONT face=Arial>...if its a multiple record subform, you'd need to do a MoveLast first and enclose the SetFocus in an IfThen construct.</FONT></PRE><PRE><FONT face=Arial>...HTH :)</FONT></PRE></DIV>
<DIV>William Hindman<BR>"The tree of liberty only grows when watered by the
blood of tyrants. "Bertrand Barère de Vieuzac--a Frenchman<BR></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=jarus@amerinet-gpo.com href="mailto:jarus@amerinet-gpo.com">Terri
Jarus</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=accessd@databaseadvisors.com
href="mailto:accessd@databaseadvisors.com">accessd@databaseadvisors.com</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, March 18, 2003 10:16
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [AccessD] [AccessD]A97 - Get
Focus Main Form</DIV>
<DIV><BR></DIV>
<DIV>I am working in a subform and want to tab from one field back to a field
on the main form. How do I get focus to the field on the main
form?</DIV>
<DIV> </DIV>
<DIV>MainForm - CashReceipts</DIV>
<DIV>SubFormControl - SubCashCtl</DIV>
<DIV> </DIV>
<DIV>Field on subform is Comments - once I tab off that field I want the focus
to set to the field nameCbo on the main form.</DIV>
<DIV> </DIV>
<DIV>I can't seem to get it right - couldn't find anything in the
archives.</DIV>
<DIV> </DIV>
<DIV>Thanks for any help.</DIV></BLOCKQUOTE></BODY></HTML>