DataGrid in VBA

P

Price Brattin

I am using the classic DataGrid in a VBA project and need to set the
properties. In VB6, a person can right-click on the grid and get the propery
pages. I cannot get this to work in VBA - it just shows the properties
window in the IDE. I got it to work once but it does not work now. I cannot
remember the steps I followed to get this to work. Can someone tell me how
to do this?

Plus, is there a way to set the datasource property on the DataGrid so we
can retrieve fields and set the properties of the columns, like width,
heading, etc.?
 
S

Shaun

You have posted to the Microsoft Access group, so to use the DataGrid
control in MS Access, you would be in Form Design view. Simply right-mouse
the rectangular control and find the Data Grid Object > Properties. If
"Properties" is not a menu item, then it cannot be done.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top