A client's database has a Customer form with a subform in datasheet view showing a summary of all of the customer's orders placed so far. After selecting an order, clicking the main form's Order button opens an Order Details form showing the full details of the order, with subforms for any purchases and credits. An Add New Order button clears this form and allows a new one to be built up.
For a new customer with no existing orders the Order Details form opens with no OrderID or Customer Name showing. To start populating this the same Add New Order button needs to be clicked. This inserts a new OrderID and the customer name.
But people forget, and when clicking in a subform to start adding order items the Customer Name and OrderID = 0 appear, with the error message 'The command or action Save Record isn't available now'.
Depending what they do next they may get a blank order saved to the customer's record. T want to suppress this and instead warn to click Add New Order. It's not clear what triggers the error message other than the mouse click in a subform.
For a new customer with no existing orders the Order Details form opens with no OrderID or Customer Name showing. To start populating this the same Add New Order button needs to be clicked. This inserts a new OrderID and the customer name.
But people forget, and when clicking in a subform to start adding order items the Customer Name and OrderID = 0 appear, with the error message 'The command or action Save Record isn't available now'.
Depending what they do next they may get a blank order saved to the customer's record. T want to suppress this and instead warn to click Add New Order. It's not clear what triggers the error message other than the mouse click in a subform.