Here's the solution that seems to finally be working:
In the OnCurrent Event of the Main Form I have this code:
Private Sub Form_Current()
Dim rs As Recordset
Set rs = Me![sfrmCommunication].Form.RecordsetClone
If rs.RecordCount > 0 Then
rs.MoveLast
Me![sfrmCommunication].Form.Bookmark = rs.Bookmark
Set rs = Nothing
Else
rs.AddNew
End If
Me.Status = [Forms]![frmStudentRecord]![sfrmCommunication]!CommStatus
End Sub
So far so good....
William
"Mike Storr" <nobody@somewhere.con> wrote in message
news:95zSb.44690$mf4.1536698@news20.bellglobal.com ...[color=blue]
> If the [Status] field is not editable, have you tried giving it a
> ControlSource of Forms.MainForm.SubformControlName.Form!CommStatus.
> If it is editable, then is the mainform and subform linked using
> master/child linking or some other method?
>
> Mike Storr
>
www.veraccess.com
>
>
> "William Wisnieski" <wwisnieski@admissions.umass.edu> wrote in message
> news:401a9a15$1@news-1.oit.umass.edu...[color=green]
> > Thanks Mike
> >
> > Here's a more thorough explanation. I posted it under another thread[/color]
> based[color=green]
> > on another approach someone told me.
> >
> > I have a query by form that returns a record set in a datasheet. The[/color][/color]
user[color=blue][color=green]
> > double clicks on a row and a main form (pop up) opens bound to a table[/color]
> with[color=green]
> > a continuous subform bound to another table.
> >
> > On the main form is a field called [Status]. It is vital that this is
> > always populated with the value from a field [CommStatus] in the most[/color]
> recent[color=green]
> > record on the subform. The subform table has a primary key [CommID] as[/color]
> well[color=green]
> > as a date/time stamp field. Because a user can delete subform records[/color][/color]
and[color=blue][color=green]
> > add to them, I need that main form field [Status] to always have the[/color][/color]
value[color=blue][color=green]
> > from the most recent subform record, which means the highest CommID or[/color]
> most[color=green]
> > recent date and time. The users move frequently from next record to
> > previous record of the recordset while on the main form, adding and[/color]
> deleting[color=green]
> > subform records.
> >
> > I've tried code in the OnCurrent event of the main form to get the[/color][/color]
value.[color=blue][color=green]
> > This works if I close the form and reopen it because the subform is set[/color][/color]
to[color=blue][color=green]
> > go to the last record . But if the user clicks next record, then goes[/color]
> back[color=green]
> > it doesn't update. I've tried setting the OnCurrent event of the[/color][/color]
subform[color=blue]
> to[color=green]
> > go to the last record but this seems to freeze the new record area of[/color][/color]
the[color=blue][color=green]
> > subform. I've tried using refresh in the after update event of the[/color]
> subform[color=green]
> > and that didn't work either.
> >
> > I'm playing around with using a DMax statement in an unbound text box on[/color]
> the[color=green]
> > subform to return the highest CommID then somehow refer to it in the
> > OnCurrent event of the main form...but I'm still open to all[/color][/color]
suggestions![color=blue][color=green]
> >
> > William
> >
> >
> >
> > "Mike Storr" <storrboy@sympatico.ca> wrote in message
> > news:w8hdh03sp3k3.esn962vq4yw.dlg@40tude.net...[color=darkred]
> > > On Thu, 29 Jan 2004 15:24:49 -0500, William Wisnieski wrote:
> > >
> > > > I used Me.Parent.Refresh in the subform. The main form control is[/color][/color]
> bound[color=green]
> > to[color=darkred]
> > > > one of the fields in the table the form uses.
> > > >
> > > > "Mike Storr" <nobody@somewhere.con> wrote in message
> > > > news:5idSb.6182$qU3.479067@news20.bellglobal.com.. .
> > >
> > >
> > > I re-read your original posting and I beleive that I misunderstood it[/color][/color][/color]
at[color=blue][color=green][color=darkred]
> > > first. However, I'm having some trouble envisioning the way you have[/color]
> > things[color=darkred]
> > > setup, so some more info about how the forms are linked to each other,[/color][/color]
> and[color=green][color=darkred]
> > > perhaps a brief example of the table/query you are using to do this[/color][/color]
> would[color=green][color=darkred]
> > > help?
> > >
> > > --
> > > Mike Storr
> > > veraccess.com[/color]
> >
> >[/color]
>
>[/color]