EStallworth
Well-known member
Does anyone know if one or the other is faster. For example, it takes my program a little long to run through the following If statement.
What I would like to know is if I would get any performance enhancements if I changed this to a Select Case. To me it seems like the select case would run through a little faster, yet I still used IF..., I would just like to present this question in hopes of not having to try it out. I am pretty sure I remember my instructor always saying to limit the amount of conditions in an IF statement and to use select case in the event it happens to be this long, but that was years ago and I forget. Thx to everyone/anyone with input.
VB.NET:
[SIZE=2][COLOR=#0000ff]Try[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]If[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 1 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2007 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200701"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"1/22/2007"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 2 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2007 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200702"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"2/20/2007"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 3 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2007 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200703"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"3/20/2007"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 4 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2007 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200704"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"4/20/2007"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 5 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2007 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200705"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"5/21/2007"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 6 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2007 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200706"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"6/20/2007"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 7 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2007 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200707"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"7/20/2007"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 8 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2007 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200708"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"8/20/2007"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 9 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2007 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200709"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"9/20/2007"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 10 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2007 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200710"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"10/22/2007"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 11 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2007 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200711"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"11/20/2007"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 12 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2007 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200712"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"12/20/2007"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 1 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2006 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200601"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"1/20/2006"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 2 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2006 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200602"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"2/20/2006"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 3 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2006 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200603"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"3/20/2006"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 4 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2006 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200604"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"4/20/2006"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 5 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2006 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200605"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"5/22/2006"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 6 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2006 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200606"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"6/20/2006"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 7 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2006 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200607"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"7/20/2006"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 8 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2006 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200608"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"8/21/2006"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 9 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2006 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200609"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"9/20/2006"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 10 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2006 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200610"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"10/20/2006"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 11 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2006 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200611"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"11/20/2006"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 12 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2006 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200612"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"12/20/2006"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 1 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2005 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200501"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"1/20/2005"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 2 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2005 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200502"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"2/21/2005"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 3 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2005 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200503"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"3/21/2005"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 4 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2005 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200504"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"4/20/2005"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 5 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2005 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200505"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"5/20/2005"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 6 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2005 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200506"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"6/20/2005"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 7 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2005 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200507"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"7/20/2005"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 8 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2005 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200508"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"8/22/2005"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 9 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2005 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200509"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"9/20/2005"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 10 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2005 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200510"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"10/20/2005"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 11 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2005 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200511"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"11/21/2005"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 12 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2005 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200512"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"12/20/2005"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 1 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2004 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200401"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"1/20/2004"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 2 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2004 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200402"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"2/20/2004"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 3 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2004 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200403"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"3/22/2004"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 4 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2004 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200404"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"4/20/2004"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 5 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2004 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200405"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"5/20/2004"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 6 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2004 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200406"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"6/21/2004"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 7 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2004 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200407"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"7/20/2004"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 8 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2004 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200408"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"8/20/2004"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 9 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2004 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200409"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"9/20/2004"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 10 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2004 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200410"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"10/20/2004"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 11 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2004 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200411"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"11/22/2004"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 12 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2004 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200412"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"12/20/2004"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 1 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2003 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200301"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"1/20/2003"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 2 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2003 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200302"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"2/20/2003"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 3 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2003 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200303"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"3/20/2003"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 4 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2003 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200304"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"4/21/2003"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 5 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2003 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200305"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"5/20/2003"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 6 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2003 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200306"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"6/20/2003"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 7 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2003 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200307"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"7/21/2003"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 8 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2003 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200308"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"8/20/2003"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 9 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2003 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200309"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"9/22/2003"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 10 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2003 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200310"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"10/20/2003"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 11 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2003 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200311"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"11/20/2003"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 12 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2003 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200312"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"12/22/2003"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 1 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2002 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200201"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"1/21/2002"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 2 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2002 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200202"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"2/20/2002"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 3 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2002 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200203"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"3/20/2002"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 4 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2002 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200204"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"4/22/2002"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 5 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2002 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200205"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"5/20/2002"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 6 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2002 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200206"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"6/20/2002"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 7 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2002 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200207"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"7/22/2002"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 8 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2002 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200208"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"8/20/2002"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 9 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2002 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200209"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"9/20/2002"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 10 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2002 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200210"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"10/21/2002"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 11 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2002 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200211"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"11/20/2002"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 12 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2002 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200212"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"12/20/2002"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 1 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2001 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200101"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"1/22/2001"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 2 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2001 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200102"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"2/20/2001"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 3 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2001 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200103"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"3/20/2001"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 4 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2001 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200104"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"4/20/2001"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 5 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2001 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200105"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"5/21/2001"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 6 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2001 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200106"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"6/20/2001"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 7 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2001 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200107"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"7/20/2001"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 8 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2001 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200108"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"8/20/2001"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 9 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2001 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200109"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"9/20/2001"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 10 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2001 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200110"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"10/22/2001"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 11 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2001 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200111"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"11/20/2001"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 12 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2001 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200112"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"12/20/2001"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 1 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2000 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200001"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"1/20/2000"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 2 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2000 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200002"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"2/21/2000"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 3 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2000 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200003"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"3/20/2000"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 4 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2000 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200004"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"4/20/2000"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 5 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2000 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200005"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"5/22/2000"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 6 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2000 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200006"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"6/20/2000"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 7 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2000 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200007"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"7/20/2000"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 8 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2000 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200008"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"8/21/2000"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 9 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2000 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200009"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"9/20/2000"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 10 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2000 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200010"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"10/20/2000"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 11 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2000 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200011"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"11/20/2000"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]ElseIf[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Month = 12 [/SIZE][SIZE=2][COLOR=#0000ff]And[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]CDate[/COLOR][/SIZE][SIZE=2](receiptdatetxt.Text).Year = 2000 [/SIZE][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE]
[SIZE=2]ComboBox2.Text = [/SIZE][SIZE=2][COLOR=#800000]"200012"[/COLOR][/SIZE]
[SIZE=2]duedatelabel.Text = [/SIZE][SIZE=2][COLOR=#800000]"12/20/2000"[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]End[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]If[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]Catch[/COLOR][/SIZE][SIZE=2] ex [/SIZE][SIZE=2][COLOR=#0000ff]As[/COLOR][/SIZE][SIZE=2] Exception[/SIZE]
[SIZE=2]MsgBox([/SIZE][SIZE=2][COLOR=#800000]"Please try entering the account number again. If the grid to the right of the screen has not been populated,[/COLOR][/SIZE]
[SIZE=2][COLOR=#800000] this means there are no current transactions for this account."[/COLOR][/SIZE][SIZE=2])[/SIZE]
[SIZE=2][COLOR=#0000ff]End[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]Try[/COLOR][/SIZE]
What I would like to know is if I would get any performance enhancements if I changed this to a Select Case. To me it seems like the select case would run through a little faster, yet I still used IF..., I would just like to present this question in hopes of not having to try it out. I am pretty sure I remember my instructor always saying to limit the amount of conditions in an IF statement and to use select case in the event it happens to be this long, but that was years ago and I forget. Thx to everyone/anyone with input.