G
Guest
Would appreciate any insight into this one.
I have a sub from that allows the entry of some data. The table that it is
built on is an ODBC linked SQL server table.
The sub form allows the the entry of two foriegn keys in the above mentioned
table. There is a contstraint on the
table that stops a duplicate (FK1 & FK2) pair to be entered. When I attempt
to enter a new record with duplicate foriegn
key pair Access will not let me move off the record. No code in the
Form_Error procedure of the sub for is executed.
This makes feed back to the user a bit difficult because they don't know
about the constraint.
The only thing I can think of is that I have not set a property enabling
errors?
Many Thanks
Terry.
I have a sub from that allows the entry of some data. The table that it is
built on is an ODBC linked SQL server table.
The sub form allows the the entry of two foriegn keys in the above mentioned
table. There is a contstraint on the
table that stops a duplicate (FK1 & FK2) pair to be entered. When I attempt
to enter a new record with duplicate foriegn
key pair Access will not let me move off the record. No code in the
Form_Error procedure of the sub for is executed.
This makes feed back to the user a bit difficult because they don't know
about the constraint.
The only thing I can think of is that I have not set a property enabling
errors?
Many Thanks
Terry.