General information
Category:
Forms & Form designer
hi,
thank you for reply,
sorry about my boor english language.
i'll try.
thanks
>The AllowAddNew property simply means that when you are on the last record in the grid and you press the down arrow, a new record is added. This is good for "heads down" data entry. To add a record to the grid programatically, just APPEND BLANK (or use the INSERT INTO command) and then call the grid's Refresh method (THISFORM.MYGRID.REFRESH). You can put a button on the form to add a new record to the grid and one to delete records.
>
>I hope this is helping. Your English is a little rough so I'm not completely clear on some of the questions.
>
>As for Tore's advice about not using grids for input, I'd have to strongly disagree with that. You hear that sometimes, even from some of the supposed gurus. I think it's very possible to use grids for input and it is a much more intuitive way of allowing input for things like invoice line items, etc. I've been doing it since VFP 5 with no significant problems and this has been in applications with anywhere from 5 users to 80 users.
>
>Russell Campbell
>
>>hi,
>>i put mygrid at myform,
>>at grid level i change properties allowaddnew = true.
>>
>>nothing happend ...no new empty record.
>>
>>thanks
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only