deadyankee
Technical User
Hi all,
I have a combo box (cboLSC2) which lists the fields from a table selected in another combo box (cboLSC1) using the following code:
Private Sub cboLSC1_AfterUpdate()
With cboLSC2
.RowSourceType = "Field List"
.RowSource = cboLSC1.Value
End With
End Sub
This code works fine, but lists ALL the fields in the selected table. Unfortunately, this contains a URN field that I don't really want users to see. Any suggestions on how to hide this field?
TIA
I have a combo box (cboLSC2) which lists the fields from a table selected in another combo box (cboLSC1) using the following code:
Private Sub cboLSC1_AfterUpdate()
With cboLSC2
.RowSourceType = "Field List"
.RowSource = cboLSC1.Value
End With
End Sub
This code works fine, but lists ALL the fields in the selected table. Unfortunately, this contains a URN field that I don't really want users to see. Any suggestions on how to hide this field?
TIA