J
Joe
my access application let user to print monthly report.
and i had use module to extract data.
in previous version, when user click the report button, it prompt a input
box
to let them input value between 1 to 12 and year.
.......
Dim monthValue, Message, Title As String
Message = "Please enter a value between 1 and 12" ' Set prompt.
Title = "Month To Print" ' Set title.
monthValue = InputBox(Message, Title)
If monthValue = "" Then
Exit Sub
End If
If monthValue > 0 And monthValue < 13 Then
Dim MonthDes As String
If monthValue = 1 Then
MonthDes = "January"
ElseIf monthValue = 2 Then
..........
Now, they want me to use dropdown box instead of input box.
but i can't find the vbscript for dropdown box in "Help"
thx !
Joe
and i had use module to extract data.
in previous version, when user click the report button, it prompt a input
box
to let them input value between 1 to 12 and year.
.......
Dim monthValue, Message, Title As String
Message = "Please enter a value between 1 and 12" ' Set prompt.
Title = "Month To Print" ' Set title.
monthValue = InputBox(Message, Title)
If monthValue = "" Then
Exit Sub
End If
If monthValue > 0 And monthValue < 13 Then
Dim MonthDes As String
If monthValue = 1 Then
MonthDes = "January"
ElseIf monthValue = 2 Then
..........
Now, they want me to use dropdown box instead of input box.
but i can't find the vbscript for dropdown box in "Help"
thx !
Joe