DataGrid control error
Posted on 2003-03-12
I have two forms displaying database records using a dataenvironment connection. Form 1 has a datagrid to select which customer to display on the form 2. Form 2 has many data aware controls to the same dataenvironment connection. When a customer name is selected/clicked on the datagrid a button is pressed to display form 2. The user can show form 1 again to select another customer name. After selecting several different customers on the form 1 which changes the data displayed on form 2 the following error on the datagrid control displays when closing the form 2: Cannot update '(expression)'; field not updateable.
When this error displays the only action that has taken place is to change customers.
What is causing this error and what can I do to prevent it?