Hi Forum, Access 2010.
This code works - except for the .BoundColumn bit
The combo box control is populated with column 1 no matter what I do with the bound column code.
Any ideas what may be an issue here ??
This code works - except for the .BoundColumn bit
Code:
With cboRefinanceID
.RowSource = "SELECT TBLLOAN.LDPK, TblRefinance.RefinanceID, TblRefinance.NewApplicationID, TBLLOAN.ADPK, TblRefinance.RefinanceAmount, TblRefinance.RefinanceSID, TblRefinance.DateInitiated " & _
"FROM TBLLOAN INNER JOIN TblRefinance ON TBLLOAN.LDPK = TblRefinance.OldLoanID " & _
"WHERE (((TBLLOAN.LDPK)=DLookUp(""[LDPK]"",""TBLLOAN"",""[LDPK]="" & [Forms]![frmBankStatementsDataOPS]![subfrmMemberRepaymentsData]![cboLoanID])) AND ((TblRefinance.RefinanceSID) Is Null));"
.ColumnCount = 5
.BoundColumn = 2
.ColumnWidths = "1cm;1cm;1cm;1cm;1cm"
End With
The combo box control is populated with column 1 no matter what I do with the bound column code.
Any ideas what may be an issue here ??