I have a form which opens in Data Entry.
If I enter some of the data but leave 1 of the required fields blank, the form will still close but the data will not be added to the table.
How can I tell access to check that the data is present and correct and if it is not then an error message comes up?
And also if I enter the details of another item already in the table, then again the form will change but no data is added to the table. Here I want an error box saying that the ProductID enter is already present, and a unique on must be entered.
Cheers
If I enter some of the data but leave 1 of the required fields blank, the form will still close but the data will not be added to the table.
How can I tell access to check that the data is present and correct and if it is not then an error message comes up?
And also if I enter the details of another item already in the table, then again the form will change but no data is added to the table. Here I want an error box saying that the ProductID enter is already present, and a unique on must be entered.
Cheers