> There's several ways to do this, but if I understand your post, this should
> do the trick.
>
> In your calling subform:
>
> Private Sub txtID_DblClick(Cancel As Integer)
> DoCmd.OpenForm "FRM_Memo", , , , , , Me.txtID
> End Sub
>
> Then, in FRM_Memo :
>
> Private Sub Form_Load()
> If Len(Nz(Me.OpenArgs, "")) > 0 Then
> DoCmd.GoToRecord , , acNewRec
> Me.txtRef = Me.OpenArgs
> End If
> End Sub
>
>
> rama wrote:
> >Hello,
> >In my database there is a unbound main form and a subform (Datasheet
> >view) which is bound to a table, for data entry purpose. On double
> >click event of “txtID†(Auto number) field in subform will open
> >another form called FRM_Memo to put more detailed description. What I
> >wish to do is to update the txtID field value in FRM_Memo txtRef field
> >automatically while opening FRM_Memo. Please help me to work out this.
> >Many Thanks in advance.
> >Rama
>
> --
> There's ALWAYS more than one way to skin a cat!
>
> Answers/posts based on Access 2000/2003
>
> Message posted via AccessMonster.com
>
http://www.accessmonster.com/Uwe/Forums.aspx/access-formscoding/200811/1>
>