BrianBoyes
Registered User.
- Local time
- Today, 08:23
- Joined
- Feb 8, 2013
- Messages
- 10
I have a (fairly) simple database with;
Main table (call this DNT)
a subtable (DRT) with full referential integrity to DRT
a 3rd level table (D2T) with full ref integrity to DRT but is a multi - multi as its only other field (apart from date and time stamps) is linked to the primary key in another table (TNT).
All 4 tables are represented in a single master form with DRT & D2T sub & sub-sub forms and TNT independent (displayed to make addition of look-up values simple).
For each unique value of DNT+DRT there can be multiple values in D2T entered by menas of a combo box with look-up values given from TNT.
All this was working as required until I ran first an update query (to insert values in a previously empty field in TNT) and an append query, also to the table TNT.
Now, each time that I enter revised data in the form for DNT, DRT or D2T I get the (false) error message "The value that you entered isn't valid for this field" (Error Number -2147352567). On closing the error message the data is duly entered and the record posted.
Data entry is thus rendered both slow and frustrating
I imagine that there is (as ever) a simlpe solution but, if that cannot be found is there somewhere that I can put some code to automatically close the error message box ? That might not be a "pure" approach but would remove the annoyance and improve productivity.
Main table (call this DNT)
a subtable (DRT) with full referential integrity to DRT
a 3rd level table (D2T) with full ref integrity to DRT but is a multi - multi as its only other field (apart from date and time stamps) is linked to the primary key in another table (TNT).
All 4 tables are represented in a single master form with DRT & D2T sub & sub-sub forms and TNT independent (displayed to make addition of look-up values simple).
For each unique value of DNT+DRT there can be multiple values in D2T entered by menas of a combo box with look-up values given from TNT.
All this was working as required until I ran first an update query (to insert values in a previously empty field in TNT) and an append query, also to the table TNT.
Now, each time that I enter revised data in the form for DNT, DRT or D2T I get the (false) error message "The value that you entered isn't valid for this field" (Error Number -2147352567). On closing the error message the data is duly entered and the record posted.
Data entry is thus rendered both slow and frustrating
I imagine that there is (as ever) a simlpe solution but, if that cannot be found is there somewhere that I can put some code to automatically close the error message box ? That might not be a "pure" approach but would remove the annoyance and improve productivity.