I need a DLL that has two forms.
1st I need a form for adding a range of sections to the database
2nd I need a form to edit and delete a given range of sections
## Deliverables
Sections are always a letter followed by some chars and ending with a number. When validating a section range the form needs to verify that the start and end of the range start with the same letter.
(A1 - A13) Is a valid section range and would be working with sections A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13
(A1 - B1) Is not a valid section range as there is no way to know how many locations in A are being worked with
(A1 - A1-2) I think it would be easiest to say that this is not valid as there is no good way to tell what the user is trying to do
(A1-1 - A1-2) Is valid and would cover sections A1-1, A1-2
(A1-1 - A2-1) Again I think it would be easiest to call this one invalid as there is no way to see what the user is trying to do here.
(A1) Is valid and covers section A1
(A1 - A1) Is valid and covers section A1
As you can tell from the create table script there are 4 fields that need to be editable.
1) Section is all the sections that fall in the range we are working with. It would be good to have a read only box on the form that shows all sections that are being worked on but aside from the place where the ranges are entered there is no need to be able to edit this information from the form.
2) MaxLength is the maximum length of the pieces allowed on this section. This must be greater then 1
3) MinWidth is the minimum width of the pieces allowed on this section. This must be less then 10.
4) MaxWidth is the maximum width of the pieces allowed on this section. This must be less then 10 and greater or equal to 1.
Each *section* gets it's own row in the database. Section *ranges* are only used to determine which sections get worked on.