VB 5.0 DBCombo MatchedWithList error
VB 5.0 DBCombo MatchedWithList error
(OP)
Has anyone come acorss a problem with the DBCombo.MatchedWithList property?
It appears that irrespective of a user's selection from the list, that this property is always 'false'. Everything else works just fine. I am using VB 5, SP3.
TIA
ANdrew
It appears that irrespective of a user's selection from the list, that this property is always 'false'. Everything else works just fine. I am using VB 5, SP3.
TIA
ANdrew
RE: VB 5.0 DBCombo MatchedWithList error
After checking the DBCombo.MatchedWithList property I programmagramtically set the dBCombo.Text property. An example follows:
If DBCombo.MatchedWithList = False Then
MsgBox ("Select from list")
TestData.RecordSource = "SELECT [TestTable].* FROM [TestTable]"
TestData.Refresh
TestData.Recordset.MoveFirst
DBCombo.Text = TableData.Recordset![TestName]
Exit Sub
End If
Does this help?
RE: VB 5.0 DBCombo MatchedWithList error
DBCombo.BoundText=DBCombo.BoundText (!) then it also appears to do the job....seems the DBCombo knows about the value but isn't passing it through somehow.