Still no success.
Let me review, though, if I can't get it right w/ Pat's help, I'm probably beyond hope.
I have a form, FSREdit. It has a field, SRNum, which has a control SRNum (yes, I've learned my lesson long ago about smarter naming conventions

, but it was too late to rework these ). It also has a button, FSRAddComment that, when selected, brings up a secondary form, FSRComment. FSRComment has a field, SRNumb, which has SRNumb as a control.
I want the field of FSRComment, SRNumb, to be populated w/ the data that is in SRNum of FSREdit. FSREdit is called by multiple forms, so I can't just put "=[Forms]![FSREdit]![SRnum]" as its default value.
So, to this end, I have the following code, which has been thoroughly massaged w/ the kind help of Pat and a couple others...
------------
Private Sub FSRAddComment_Click()
On Error GoTo Err_FSRAddComment_Click
Dim stDocName As String
Dim stLinkCriteria As String
Dim OpenArgs As String
stDocName = "FSRComment"
stLinkCriteria = "[SRNum]=" & "'" & Me![SRNum] & "'"
DoCmd.OpenForm stDocName, , , stLinkCriteria, acFormAdd, , Me.Name
Exit_FSRAddComment_Click:
Exit Sub
Err_FSRAddComment_Click:
MsgBox Err.Description
Resume Exit_FSRAddComment_Click
End Sub
----------
In the secondary form, FSRComment, I have placed the following in the default value of SRNumb:
=[Me].[OpenArgs]
It still does not work, when the secondary form is opened the following displays in the SRNumb field: #Name?
I'm giving this thorough detail in the hope that at this point its just some bad syntax/typo on my part and that for fresh eyes it will be a real "duh!". Pat's been extremely helpful and patient, which I greatly appreciate.
FYI, I've tried the following:
*In the "On Open" properties of the form FSRComment I did try a "=Me.OpenARgs" but that just got me an error about not having a macro set up.
I'm doing all this to avoid having a "F**Comment" field for every main form I'm creating. At least, if I can't figure this out, I could do that as a fallback, but I'd prefer not to.
Anyway, thanks for the help everyone, esp. Pat. If someone can point out the "duh!" that I'm missing, that would be great!
