For i = 0 To pnlCreateWorkout.NumberOfViews -1
If pnlCreateWorkout.GetView(i) Is CheckBox OR EditText Then
Tag = pnlCreateWorkout.GetView(i).Tag
Select Tag
Case 1
'CheckBox All Days
MyPersistantData.cbstate(Tag) =
Case 2
'Checkbox Sunday
Case 3
'Checkbox Monday
Case 4
'Checkbox Tuesday
Case 5
'Checkbox Wednesday
Case 6
'Checkbox Thursday
Case 7
'Checkbox Friday
Case 8
'Checkbox Saturday
Case 9
'EditText Workout Title
Case 10
'Spinner - Difficulty Level Selector
Case 11
'TextEdit Discription
Case 12
'TextEdit All Days Title
Case 13
'TextEdit Sunday Title
Case 14
'TextEdit Monday title
Case 15
'TextEdit Tuesday Title
Case 16
'TextEdit Wednesday Title
Case 17
'TextEdit Thursday Title
Case 18
'TextEdit Friday Title
Case 19
'TextEdit Saturday Title
End Select
End If
Next