Or just add as many as is ever needed and check for user modified records in the save. Ignore any that are unmodified by the user.
In our business object class, we have DefaultNumberOfRecords and AddType to control how and if the blank records get added. We have UserModified() to determine if the appended record is worth validating.
>Got users that like data entry in a grid :-) Me too ...
>
>Buffer the table, prompt the user for "How many?", append the requisite number of new records and let them have at it.
>
>>I would like to a grid display some product codes for a particular company. That part is easy. I currently have an Add button that takes the user to an add screen where they can add a new product one at a time. Well that is not floating well with them. What they would like to do is be able to click on the add button then add the products (how ever many they have to add), add them into the grid then click the save button. In other words they want to bypass the add form and add and have the ability to add more than one product at a time (instead of clicking add button then adding one product then clicking save then doing it all over again).
>>
>>Can someone lead me into the right direction? Also, when the user clicks add I will un-readonly the grid, but how can I keep the products that already exist for that company readonly?
Charlie