John
August 20th, 1999, 03:11 PM
MatchedWithList for dbCombo box not work properly.
Here is the codes:
If Not dbAJCTRN.MatchedWithList Then
Beep
MsgBox "Invalid transaction type! Please enter again!"
dbAJCTRN.SelStart = 0
dbAJCTRN.SelLength = Len(dbAJCTRN)
dbAJCTRN.SetFocus
Exit Sub
End If
It picks up the values from MS Access file. A field for ListField is text(description) and another field for BoundColumn is text too. I select a record form dragging down the dbcombo box. But the value for the matchedwithlist is false. What goes wrong?
Here is the codes:
If Not dbAJCTRN.MatchedWithList Then
Beep
MsgBox "Invalid transaction type! Please enter again!"
dbAJCTRN.SelStart = 0
dbAJCTRN.SelLength = Len(dbAJCTRN)
dbAJCTRN.SetFocus
Exit Sub
End If
It picks up the values from MS Access file. A field for ListField is text(description) and another field for BoundColumn is text too. I select a record form dragging down the dbcombo box. But the value for the matchedwithlist is false. What goes wrong?