Try removing the acFormEdit from the command. I think that overrides the
form's DataEntry property, and sets it to True.

Signature
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)
>I am working with an adp with a SQL Server backend.
>
[quoted text clipped - 29 lines]
> data for a given record. I appreciate any help you can give in this
> matter!
Doug, I removed acFormEdit as you suggested, but the form still
doesn't display the given record. Also, I continue to get the primary
key constraint violation error.
Any other ideas what could be wrong?
On Apr 1, 11:40 am, "Douglas J. Steele"
<NOSPAM_djsteele@NOSPAM_canada.com> wrote:
> Try removing the acFormEdit from the command. I think that overrides the
> form's DataEntry property, and sets it to True.
>
> --
> Doug Steele, Microsoft Access MVPhttp://I.Am/DougSteele
> (no e-mails, please!)
Douglas J. Steele - 01 Apr 2008 19:41 GMT
Sorry, no.

Signature
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)
> Doug, I removed acFormEdit as you suggested, but the form still
> doesn't display the given record. Also, I continue to get the primary
[quoted text clipped - 10 lines]
>> Doug Steele, Microsoft Access MVPhttp://I.Am/DougSteele
>> (no e-mails, please!)
Bob Quintal - 02 Apr 2008 01:04 GMT
> Doug, I removed acFormEdit as you suggested, but the form still
> doesn't display the given record. Also, I continue to get the
> primary key constraint violation error.
>
> Any other ideas what could be wrong?
Is the form's data entry property set to yes?

Signature
Bob Quintal
PA is y I've altered my email address.
--
Posted via a free Usenet account from http://www.teranews.com