Friday, January 25, 2013 12:00 PM
I am developing a vba application (Microsoft Office 2002). I am using datagrid on it. I would like to know how to add a new button column on it.
I have used following code:
'I use a adodc control
.ConnectionString = _
.Visible = False
.RecordSource = "select * from qryAlumnesSenseClasse"
.Recordset.Filter = "IdCentre=" & gintCodiCentre
Dim fra As Column
Set fra = dtgrdAlumnes.Columns.Add(0)
fra.Button = true
fra.Visible = True
fra.Width = 200
but datagrid only displays recordset fields.
Anyone knows what happens?
Thanks in advance.
Monday, January 28, 2013 9:52 AMModerator
Welcome to the MSDN forum.
I'm trying to involve some senior engineers into the issue and it takes some time. Your patience will be greatly appreciated.
Have a nice day.
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Thursday, January 31, 2013 11:28 AMThank you very much.
Tuesday, February 05, 2013 2:51 PMAnswerer
Unfortunately, Office 2002 is no longer in mainstream support. Normally I would suggest posting to the VB forums since the ADO data control is a VB control. However, being VB6, it is also no longer supported. The best thing I can suggest is to search some of the retired VB forums to see if you can find anything there. Otherwise, hopefully someone else in the community has some suggestions. Sorry I couldn't help!
Sharon M, Microsoft Online Community Support