Private Sub Form_Current()
Dim rs As Recordset
Set rs = Me.frmReports_Filters_subfrm.Form.RecordsetClone
' Prepare all combo box filters
Do While Not rs.EOF
With Me.frmReports_Filters_subfrm.Form
.cboControlSource.RowSource = Nz(rs!txtRowSource)
.cboControlSource.ColumnCount = Nz(rs!intColumnCount)
.cboControlSource.ColumnWidths = Nz(rs!txtColumnWidths)
.cboControlSource.Requery
End With
rs.MoveNext
Loop
End Sub
|