Forum Discussion

Tony2021's avatar
Tony2021
Steel Contributor
Dec 20, 2021
Solved

OpenArgs, Zero Length String Error

Hello experts,   I am trying to grab the name that I type in a combo box field (cboSentTo) and also grab the Me.txtCOID.  The below grabs the txtCOID but it doesnt grab what I type in the Me.cboSe...
  • Karl_Donaubauer's avatar
    Dec 20, 2021

    Hi,

    Instead of Me.cboSentTo try this: Me!cboSentTo.Text

     

    Since your code is in the NotInList event of the combo box, what you've typed in is not saved as its value yet, but you can already grab it with the text property.

     

    Servus
    Karl
    Access News

Resources