Antony R.
2016-04-13T06:30:00Z
Hi, I'm using demo version of the product which i downloaded 2-3 days ago.
My problem is that whenever I set an igCellTextCombo setting for the combo box, pussing down the arrow of the combo box without first push some key to edit or select a value to the combobox, crashes Access.
Whenever i select a value of the CB with keystroking, the CB is behaving Ok. (the arrow too)
Igor/10Tec
2016-04-13T11:55:45Z
I have just created a brand new Access database with one form and iGrid on it. I wrote the following code to initialize iGrid:

Private Sub Form_Load()
   Dim ig As iGrid
   Set ig = iGrid0.Object
   With ig
      .ColCount = 1
      .RowCount = 3
      
      With .Combos.Add("cbo")
         .AddItem "aaa"
         .AddItem "bbb"
         .AddItem "ccc"
      End With
      
      .CellType(1, 1) = igCellTextCombo
      .CellCtrlKey(1, 1) = "cbo"
   End With
End Sub

On my pc (Win10 Pro x64, MS Access 2010) it does not crash. I can click the combo button in the first cell without any problems.

Can you send us a sample we can use to reproduce the problem?
Antony R.
2016-04-13T13:21:28Z
Thanks for the quick respond!

Your code works fine.
I Found out that the problem appears when the grid is bound to a dataset and the combobox is set on an empty shell.

Create table "Table1" with any three columns (eg id-Autonumber,fname-Text,sname-Text)
Put data in two records of fname field but leave sname empty.

In your form put the following code :

Private Sub Form_Load()
    Dim rs As ADODB.Recordset
    Dim grd As iGrid
    Set grd = iGrid0.Object
    
    Set rs = CurrentProject.Connection.Execute("SELECT * from table1")
    grd.FillFromRS rs
    
    grd.Combos.Clear
    With grd
        With .Combos.Add("cbo")
            .AddItem "aaa"
            .AddItem "bbb"
            .AddItem "ccc"
        End With

        .CellType(1, 3) = igCellTextCombo
        .CellCtrlKey(1, 3) = "cbo"
    End With
    iGrid0.ShowControlsInAllCells = True
End Sub

Now if you click the arrow of the combo box, Access crashes.
The ShowControlsInAllCells flag is irrelevant.
If you put the combobox in the second column that is filled, no crash occures.
If you put a letter into a combo box and then click the arrow, no crash occures.
Something to do with null value handling I suppose...
Igor/10Tec
2016-04-13T14:00:45Z
Yes, I could reproduce the problem using your instructions.

Give me a day or two, and I'll implement a fix for that.
Igor/10Tec
2016-04-13T15:01:54Z
I have just fixed the problem. It was easy, the problem was really related to the Null value that can come from the database.

The link to the fixed build of iGrid was sent to your email.
Antony R.
2016-04-13T16:09:07Z
Thanx, works just fine!