G
Guest
I have one form in a database that has code to open another form from the
record selector. This one works as it should.
I have created a new form and used the same syntax, though with difference
form and match field names, and I am getting this error. I looked in the
newsgroups and found a suggestion about setting macro security to low, but it
was already set to low. I saw another post from a user who thought it was
corruption, deleted the form and imported another from a backup. So I
recreated the form -- no luck. Have also compacted.
Here's the line of code, which I have on the forms OnClick event. I copied
the code from the one that's working and changed the names.
DoCmd.OpenForm "frmDeployRecord", , , "[StateFIPS]=" & Me![StateFIPS]
Any help will be appreciated.
record selector. This one works as it should.
I have created a new form and used the same syntax, though with difference
form and match field names, and I am getting this error. I looked in the
newsgroups and found a suggestion about setting macro security to low, but it
was already set to low. I saw another post from a user who thought it was
corruption, deleted the form and imported another from a backup. So I
recreated the form -- no luck. Have also compacted.
Here's the line of code, which I have on the forms OnClick event. I copied
the code from the one that's working and changed the names.
DoCmd.OpenForm "frmDeployRecord", , , "[StateFIPS]=" & Me![StateFIPS]
Any help will be appreciated.