I want a script that will move a form to a chosen record.
Here's what I'm trying:
I get the parameter from la different form using Docmd,openform using openargs
I've been trying docmd.gotocontrol followed by docmd.findrecord, but I keep getting complier errors. Here's my code:
Expand|Select|Wrap|Line Numbers
- If Len(Nz(Me.OpenArgs, "")) > 0 Then
- DoCmd.GoToControl "MemNo"
- DoCmd.FindRecord OpenArgs, , , , , acCurrent
- End If
Please help.
Dante
(note that 'DoCmd.OpenForm stDocName, , , stLinkCriteria will not work for this application. That limits the records in the form to those meeting the criteria; I need my user to be able to access other records. )