Finding record of a different form.

M

Mike Coleman

I have a form that calls a second form and passes an ID to that form. the
second form allows you to add items to a table that is displayed as a subform
on the main form. I have form.requery and refreshes the data but I would like
to move the cursur back to the record I was just working with. here is the
code I have so far.

Form_frmRLSummary.Requery
Form_frmRLSummary.Recordset.FindFirst TemplateActivityID
DoCmd.Close acForm, Me.Name
end sub

I am getting this error.
"Object doesn't support this property or method"

Help Please.
 
M

Mike Coleman

I almost forgot the rowsource is set to an stored proceedure

Me.RecordSource = "dbo.spRAMGetTemplateActivities"
Me.RecordSourceQualifier = "dbo"

Does this make a difference.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top