G
Guest
I have a strange issue:
I have a dropdownlist (lstSrchPeriod) that has a SelectedValue of something
(say "12"). I use an IF statement to determine if that value is there:
If lstSrchPeriod.SelectedValue <> "0" Then
theWhere &= " AND rpt_period = '" &
lstSrchPeriod.SelectedValue & "'"
End If
....that works fine. Then I evaluate this next DropDownList...
If lstSrchCenter.SelectedValue <> "0" Then
theWhere &= " AND center_id = " & lstSrchCenter.SelectedValue
End If
....and when it evaluates the IF statement, it resets
lstSrchPeriod.SelectedValue to "0". I have stepped through it and no code is
run that would reset this. I have
no idea what is happening.
Do any of you have an idea about this?
Don DeVeux
I have a dropdownlist (lstSrchPeriod) that has a SelectedValue of something
(say "12"). I use an IF statement to determine if that value is there:
If lstSrchPeriod.SelectedValue <> "0" Then
theWhere &= " AND rpt_period = '" &
lstSrchPeriod.SelectedValue & "'"
End If
....that works fine. Then I evaluate this next DropDownList...
If lstSrchCenter.SelectedValue <> "0" Then
theWhere &= " AND center_id = " & lstSrchCenter.SelectedValue
End If
....and when it evaluates the IF statement, it resets
lstSrchPeriod.SelectedValue to "0". I have stepped through it and no code is
run that would reset this. I have
no idea what is happening.
Do any of you have an idea about this?
Don DeVeux