I have a form control called cboImpMoData
I am trying to get a value from this control with no luck. What happens is the value of the control is based on a query. The table the query is based on has three fields ID, MonDesc and finalpost. In my example code liFileMonth = the ID field not the MonDesc which is what I need. I would appreciate any help in this matter.
I am trying to get a value from this control with no luck. What happens is the value of the control is based on a query. The table the query is based on has three fields ID, MonDesc and finalpost. In my example code liFileMonth = the ID field not the MonDesc which is what I need. I would appreciate any help in this matter.
Code:
If Not IsNull(Me.cboImpMonData.Value) Then
' SET PATH OF FILE FOR IMPORT
liFileMonth = Me.cboImpMonData.Value
strFileMonth = GetMonthString(liFileMonth)
' Get Closed Option and Set File
strFileCS = "\\salmfilesvr1\public\Client Services\Automate\Dnlds\" & (strUCI) & "\" & (strUCI) & "_CS_Data_" & (strFileMonth) & ".txt"
strFileAR = "\\salmfilesvr1\public\Client Services\Automate\Dnlds\" & (strUCI) & "\" & (strUCI) & "_AR_Data_" & (strFileMonth) & ".txt"
strFileFullAR = "\\Server\E\Balout\" & (strUCI) & "_AR_Data_" & (strFileMonth) & ".txt"