datagrid control in access

hello,

i am developing an access application using forms and i don't have the datagrid control.

i tried downloading msdtagrd.ocx and install it but the control doesn't seem to be working properly.

is there a control i can use that has a menual on how exactly i use it (either in the code and on the form).

thanks

refael




Answer this question

datagrid control in access

  • idrozdov

    Hi again,

    Yeah it's possible. The form you make into a datagrid doesn't need to be bound, add the controls to the form as you would normally and set the DefaultView to DataSheet and this will turn the form into a datagrid. You'll need to make the datagrid form a sub form (or child form) and all the button controls to add, edit, delete, etc will need to placed on the parent form.



  • SuperCoder0101

    why isn't there any simple DataGridView control i can use does it have to be so complicated

    do you know of a tutorial i can use



  • windows_mss

    I don't know of any tutorial.

    It's only complicated because you've came up with an approach that Access has not been designed to handle. You've came up with an approach without looking at the technology your going to implement the approach in.

    It's only as complicated as you make it.



  • Saroj K. Nanda

    If you want to create a datagrid control similar to .NET then create a form that contains the bound fields you want in the datagrid, then you need to set the forms DefaultView to DataSheet, and place it on a form as a sub form.

    An alternative is to use the list control but this is read only.



  • KoenP

    the thing is i want it to br UnBound. i want to insert or remove items from the code

    is it possible



  • datagrid control in access