Can't Assign Value

J

John Kirkman

I am opening a form and including an opening arguments with the following
code.
DoCmd.OpenForm stDocName, acNormal, , , , acDialog,Me.txtSSNo
On the On Open event of form stDocName, I am checking for a value in OpenArg
and if so trying to assign the value to a field.
Me.SocialSecurityNo = Me.OpenArgs
This is causing a "Can't Assign Value to this object" error. I have done
this procedure in the past and I am know what I am doing wrong.

Thanks for any help,
John
 

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