Hi ,
I have a access 2007 database that is running on windows 7 32bit, recently we upgraded or pc and now have 64 bit version of windows 7 with access 2007 32 bit. After the upgrade i not get the following error
Err number -2147352567
You can't assign a value to this object
This occurs when I am trying to add a new record on a form from another form
the code is as follows, it is failing on the second line
DoCmd.GoToRecord , , acNewRec
Me.txt_SITE_ID = CLng(sArgs(1))
txt_SITE_ID is a text box control and it does have a field in the control source property.
This all works though on windows 7 32bit. does anyone have an idea how to resolve this, i should mention also half of us are still on 32bit.
I have a access 2007 database that is running on windows 7 32bit, recently we upgraded or pc and now have 64 bit version of windows 7 with access 2007 32 bit. After the upgrade i not get the following error
Err number -2147352567
You can't assign a value to this object
This occurs when I am trying to add a new record on a form from another form
the code is as follows, it is failing on the second line
DoCmd.GoToRecord , , acNewRec
Me.txt_SITE_ID = CLng(sArgs(1))
txt_SITE_ID is a text box control and it does have a field in the control source property.
This all works though on windows 7 32bit. does anyone have an idea how to resolve this, i should mention also half of us are still on 32bit.