If IsNull(Me.CityList.Value) Or Me.CityList.Value = "" Then
[Forms]![frmYourForm].[SerialNoList].RowSource = ""
Exit Sub
Else
sString = Me.CityList.Value
End If
The variable sString does not have any value when I select it in the city listbox as i inserted the command
MSGBOX sString
before the Exit Sub.
Hence, the query is also returning no records.
Also, am unable to attach the database in the email-to option after clicking your name.
|