>Hi Tim,
>Yes, it's an option. I was just expecting it to be like VFP (or SQL Server, for that matter), so that you could just type in the last row and it would automatically create a new row. I ended up adding separate New buttons for each grid. I'm just hoping to avoid having to complete sets of buttons for each grid. Thanks, as always, for your help.
I wonder if there is an event on the grid where you could just call NewRow()? I haven't really tried to do that. Are these tables such that they get added to independantly?
Tim
>
>>Hi Linda,
>>
>>>I have 2 grids on a tab page in a business form. They are very simple and the users would like to enter data directly. I set the AllowUserToAddRows property to true. ReadOnly is false and Enabled is true. I made sure to create an instance of the related business objects. However, when I run the program, the grids are not enabled. I added code to specifically enable them in the Enter method but it didn't help. Currently, those tables are empty, but that shouldn't make a difference. What else do I need to do? Thanks.
>>
>>
>>Is adding a "New" button an option so you can call NewRow?
>>
>>this.MyBizObj.NewRow();
>>this.grdMyGrid.NavigateData(mmNavigate.Last);
>>this.grdMyGrid.Focus();
>>
>>
>>Tim
Timothy Bryan