Connecting Tech Pros Worldwide Forums | Help | Site Map

Thinking through a project design....

scorpion53061
Guest
 
Posts: n/a
#1: Nov 20 '05
vb.net windows app to be used on college campuses.

I need to somehow think this through and come up with some ideas . You guys
have been good to me as far as helping me think things through so I felt
pretty confident coming here.

I have a situation where I need to account for 28 different types of data
entering situations each having about 35 textboxes and corresponding labels
and each textbox has a variable. If the textbox is empty when they click
submit the variable is left blank which is important for how I format the
data. When clicking submit these variables would be recorded to a access
database.

If you were me, how would you approach this situation? Would you use a tab
control? Do you think it would be poor practice to have 2 tabs where the
user had to click a second tab(planning for a min 800x600 screen and not all
textboxes would fit on one tab).

Your thoughts please and they are much appreciated.



EricJ
Guest
 
Posts: n/a
#2: Nov 20 '05

re: Thinking through a project design....


yust some thoughts

1) a tabcontrol w 28 pages w a datagrid (in the datagrid you would have 2
cols 1 for the question 2nd for the answer)

2) a treeview 28 main nodes
option a) clicking under the main node you split thing up a bit in
subnodes
clicking a subnode would show a panel w your
textboxes (you could fill this dinamically for the selected node)
b) have a subnode for each detail (you can jump to the next
detail automatically when the user made a valid input)
3) a listbox, or combo w your 28 main items calling a panel again (w the
textboxes) keep in mind panels give scrollbars so the limited resolution
dousnt have to be a problem

hope it helped

eric

"scorpion53061" <scorpion_53061nospamhereplease@yahoo.com> wrote in message
news:uyV5VANuDHA.3196@TK2MSFTNGP11.phx.gbl...[color=blue]
> vb.net windows app to be used on college campuses.
>
> I need to somehow think this through and come up with some ideas . You[/color]
guys[color=blue]
> have been good to me as far as helping me think things through so I felt
> pretty confident coming here.
>
> I have a situation where I need to account for 28 different types of data
> entering situations each having about 35 textboxes and corresponding[/color]
labels[color=blue]
> and each textbox has a variable. If the textbox is empty when they click
> submit the variable is left blank which is important for how I format the
> data. When clicking submit these variables would be recorded to a access
> database.
>
> If you were me, how would you approach this situation? Would you use a tab
> control? Do you think it would be poor practice to have 2 tabs where the
> user had to click a second tab(planning for a min 800x600 screen and not[/color]
all[color=blue]
> textboxes would fit on one tab).
>
> Your thoughts please and they are much appreciated.
>
>[/color]


scorpion53061
Guest
 
Posts: n/a
#3: Nov 20 '05

re: Thinking through a project design....


Hi eric

Thank you for your advice.

I need to somehow on the datagrid control allow this to be a control a user
can enter data and then I can assign its contents to variables (first column
e.g. say "Author" then the next column the user would enter a value which
when they clicked submit I would read and assign to variable.

Do you know of a link that would help with this?
"EricJ" <ericRéMoVe@ThiSomnipack.be> wrote in message
news:3fcc8cce$0$3241$ba620e4c@reader0.news.skynet. be...[color=blue]
> yust some thoughts
>
> 1) a tabcontrol w 28 pages w a datagrid (in the datagrid you would have 2
> cols 1 for the question 2nd for the answer)
>
> 2) a treeview 28 main nodes
> option a) clicking under the main node you split thing up a bit in
> subnodes
> clicking a subnode would show a panel w your
> textboxes (you could fill this dinamically for the selected node)
> b) have a subnode for each detail (you can jump to the[/color]
next[color=blue]
> detail automatically when the user made a valid input)
> 3) a listbox, or combo w your 28 main items calling a panel again (w the
> textboxes) keep in mind panels give scrollbars so the limited resolution
> dousnt have to be a problem
>
> hope it helped
>
> eric
>
> "scorpion53061" <scorpion_53061nospamhereplease@yahoo.com> wrote in[/color]
message[color=blue]
> news:uyV5VANuDHA.3196@TK2MSFTNGP11.phx.gbl...[color=green]
> > vb.net windows app to be used on college campuses.
> >
> > I need to somehow think this through and come up with some ideas . You[/color]
> guys[color=green]
> > have been good to me as far as helping me think things through so I felt
> > pretty confident coming here.
> >
> > I have a situation where I need to account for 28 different types of[/color][/color]
data[color=blue][color=green]
> > entering situations each having about 35 textboxes and corresponding[/color]
> labels[color=green]
> > and each textbox has a variable. If the textbox is empty when they click
> > submit the variable is left blank which is important for how I format[/color][/color]
the[color=blue][color=green]
> > data. When clicking submit these variables would be recorded to a access
> > database.
> >
> > If you were me, how would you approach this situation? Would you use a[/color][/color]
tab[color=blue][color=green]
> > control? Do you think it would be poor practice to have 2 tabs where the
> > user had to click a second tab(planning for a min 800x600 screen and not[/color]
> all[color=green]
> > textboxes would fit on one tab).
> >
> > Your thoughts please and they are much appreciated.
> >
> >[/color]
>
>[/color]


EricJ
Guest
 
Posts: n/a
#4: Nov 20 '05

re: Thinking through a project design....


not really but i think i can set you on the right path adjust this to your
needs
if you create 2 tables in your db
1 will hold an id, a propertytype and a property name (property type would
be 1 of your 28)
2 wil hold an id, a property id, a value and a user (the property's will
belong to someone)

now you can create sets of properties in your db

in the datagrid make a selection of all rows in the 1table connected to the
2nd table (for a prop type)
this gives you a 2 col datagrid
(drgmain is the datagrid)
create a tablestyle and set the first col to readonly (you don't want the
user to edit your property names)
\\
dsForm = New DataSet("data")
dsForm = SqlHelper.ExecuteDataset(gstrCnn, CommandType.Text, strSql)
Dim ts As New DataGridTableStyle
ts.MappingName = "Table"
dgrMain.TableStyles.Clear()
dgrMain.SetDataBinding(dsForm, "Table")
dgrMain.TableStyles.Add(ts)
ts.GridColumnStyles(0).Width = 0
ts.GridColumnStyles(0).ReadOnly = True
ts.GridColumnStyles(1).Width = 100
//

then all you have left is to save the data in the database
i think this could be something that would work wel in a bound structure

anyway i hope it helps

eric

"scorpion53061" <scorpion_53061nospamhereplease@yahoo.com> wrote in message
news:ey89$MOuDHA.2712@TK2MSFTNGP11.phx.gbl...[color=blue]
> Hi eric
>
> Thank you for your advice.
>
> I need to somehow on the datagrid control allow this to be a control a[/color]
user[color=blue]
> can enter data and then I can assign its contents to variables (first[/color]
column[color=blue]
> e.g. say "Author" then the next column the user would enter a value which
> when they clicked submit I would read and assign to variable.
>
> Do you know of a link that would help with this?
> "EricJ" <ericRéMoVe@ThiSomnipack.be> wrote in message
> news:3fcc8cce$0$3241$ba620e4c@reader0.news.skynet. be...[color=green]
> > yust some thoughts
> >
> > 1) a tabcontrol w 28 pages w a datagrid (in the datagrid you would have[/color][/color]
2[color=blue][color=green]
> > cols 1 for the question 2nd for the answer)
> >
> > 2) a treeview 28 main nodes
> > option a) clicking under the main node you split thing up a bit in
> > subnodes
> > clicking a subnode would show a panel w your
> > textboxes (you could fill this dinamically for the selected node)
> > b) have a subnode for each detail (you can jump to the[/color]
> next[color=green]
> > detail automatically when the user made a valid input)
> > 3) a listbox, or combo w your 28 main items calling a panel again (w the
> > textboxes) keep in mind panels give scrollbars so the limited resolution
> > dousnt have to be a problem
> >
> > hope it helped
> >
> > eric
> >
> > "scorpion53061" <scorpion_53061nospamhereplease@yahoo.com> wrote in[/color]
> message[color=green]
> > news:uyV5VANuDHA.3196@TK2MSFTNGP11.phx.gbl...[color=darkred]
> > > vb.net windows app to be used on college campuses.
> > >
> > > I need to somehow think this through and come up with some ideas . You[/color]
> > guys[color=darkred]
> > > have been good to me as far as helping me think things through so I[/color][/color][/color]
felt[color=blue][color=green][color=darkred]
> > > pretty confident coming here.
> > >
> > > I have a situation where I need to account for 28 different types of[/color][/color]
> data[color=green][color=darkred]
> > > entering situations each having about 35 textboxes and corresponding[/color]
> > labels[color=darkred]
> > > and each textbox has a variable. If the textbox is empty when they[/color][/color][/color]
click[color=blue][color=green][color=darkred]
> > > submit the variable is left blank which is important for how I format[/color][/color]
> the[color=green][color=darkred]
> > > data. When clicking submit these variables would be recorded to a[/color][/color][/color]
access[color=blue][color=green][color=darkred]
> > > database.
> > >
> > > If you were me, how would you approach this situation? Would you use a[/color][/color]
> tab[color=green][color=darkred]
> > > control? Do you think it would be poor practice to have 2 tabs where[/color][/color][/color]
the[color=blue][color=green][color=darkred]
> > > user had to click a second tab(planning for a min 800x600 screen and[/color][/color][/color]
not[color=blue][color=green]
> > all[color=darkred]
> > > textboxes would fit on one tab).
> > >
> > > Your thoughts please and they are much appreciated.
> > >
> > >[/color]
> >
> >[/color]
>
>[/color]


scorpion53061
Guest
 
Posts: n/a
#5: Nov 20 '05

re: Thinking through a project design....


Hi Eric,

Thank you for your help.

I did what you said, created another table in the database which will hold
the fields for this grid.

Do you think I am going to have to using this method create a new datagrid
for each tab control form?

"EricJ" <ericRéMoVe@ThiSomnipack.be> wrote in message
news:3fccbdb2$0$2877$ba620e4c@reader1.news.skynet. be...[color=blue]
> not really but i think i can set you on the right path adjust this to your
> needs
> if you create 2 tables in your db
> 1 will hold an id, a propertytype and a property name (property type would
> be 1 of your 28)
> 2 wil hold an id, a property id, a value and a user (the property's will
> belong to someone)
>
> now you can create sets of properties in your db
>
> in the datagrid make a selection of all rows in the 1table connected to[/color]
the[color=blue]
> 2nd table (for a prop type)
> this gives you a 2 col datagrid
> (drgmain is the datagrid)
> create a tablestyle and set the first col to readonly (you don't want the
> user to edit your property names)
> \\
> dsForm = New DataSet("data")
> dsForm = SqlHelper.ExecuteDataset(gstrCnn, CommandType.Text,[/color]
strSql)[color=blue]
> Dim ts As New DataGridTableStyle
> ts.MappingName = "Table"
> dgrMain.TableStyles.Clear()
> dgrMain.SetDataBinding(dsForm, "Table")
> dgrMain.TableStyles.Add(ts)
> ts.GridColumnStyles(0).Width = 0
> ts.GridColumnStyles(0).ReadOnly = True
> ts.GridColumnStyles(1).Width = 100
> //
>
> then all you have left is to save the data in the database
> i think this could be something that would work wel in a bound structure
>
> anyway i hope it helps
>
> eric
>
> "scorpion53061" <scorpion_53061nospamhereplease@yahoo.com> wrote in[/color]
message[color=blue]
> news:ey89$MOuDHA.2712@TK2MSFTNGP11.phx.gbl...[color=green]
> > Hi eric
> >
> > Thank you for your advice.
> >
> > I need to somehow on the datagrid control allow this to be a control a[/color]
> user[color=green]
> > can enter data and then I can assign its contents to variables (first[/color]
> column[color=green]
> > e.g. say "Author" then the next column the user would enter a value[/color][/color]
which[color=blue][color=green]
> > when they clicked submit I would read and assign to variable.
> >
> > Do you know of a link that would help with this?
> > "EricJ" <ericRéMoVe@ThiSomnipack.be> wrote in message
> > news:3fcc8cce$0$3241$ba620e4c@reader0.news.skynet. be...[color=darkred]
> > > yust some thoughts
> > >
> > > 1) a tabcontrol w 28 pages w a datagrid (in the datagrid you would[/color][/color][/color]
have[color=blue]
> 2[color=green][color=darkred]
> > > cols 1 for the question 2nd for the answer)
> > >
> > > 2) a treeview 28 main nodes
> > > option a) clicking under the main node you split thing up a bit in
> > > subnodes
> > > clicking a subnode would show a panel w your
> > > textboxes (you could fill this dinamically for the selected node)
> > > b) have a subnode for each detail (you can jump to the[/color]
> > next[color=darkred]
> > > detail automatically when the user made a valid input)
> > > 3) a listbox, or combo w your 28 main items calling a panel again (w[/color][/color][/color]
the[color=blue][color=green][color=darkred]
> > > textboxes) keep in mind panels give scrollbars so the limited[/color][/color][/color]
resolution[color=blue][color=green][color=darkred]
> > > dousnt have to be a problem
> > >
> > > hope it helped
> > >
> > > eric
> > >
> > > "scorpion53061" <scorpion_53061nospamhereplease@yahoo.com> wrote in[/color]
> > message[color=darkred]
> > > news:uyV5VANuDHA.3196@TK2MSFTNGP11.phx.gbl...
> > > > vb.net windows app to be used on college campuses.
> > > >
> > > > I need to somehow think this through and come up with some ideas .[/color][/color][/color]
You[color=blue][color=green][color=darkred]
> > > guys
> > > > have been good to me as far as helping me think things through so I[/color][/color]
> felt[color=green][color=darkred]
> > > > pretty confident coming here.
> > > >
> > > > I have a situation where I need to account for 28 different types of[/color]
> > data[color=darkred]
> > > > entering situations each having about 35 textboxes and corresponding
> > > labels
> > > > and each textbox has a variable. If the textbox is empty when they[/color][/color]
> click[color=green][color=darkred]
> > > > submit the variable is left blank which is important for how I[/color][/color][/color]
format[color=blue][color=green]
> > the[color=darkred]
> > > > data. When clicking submit these variables would be recorded to a[/color][/color]
> access[color=green][color=darkred]
> > > > database.
> > > >
> > > > If you were me, how would you approach this situation? Would you use[/color][/color][/color]
a[color=blue][color=green]
> > tab[color=darkred]
> > > > control? Do you think it would be poor practice to have 2 tabs where[/color][/color]
> the[color=green][color=darkred]
> > > > user had to click a second tab(planning for a min 800x600 screen and[/color][/color]
> not[color=green][color=darkred]
> > > all
> > > > textboxes would fit on one tab).
> > > >
> > > > Your thoughts please and they are much appreciated.
> > > >
> > > >
> > >
> > >[/color]
> >
> >[/color]
>
>[/color]


EricJ
Guest
 
Posts: n/a
#6: Nov 20 '05

re: Thinking through a project design....


if you make a good structure for your property data (w i gave you w the 2
tables was out the top of my head youll have to think about it a bit more)
you should be able to do it w 1 datagrid (you would be feeding the datagrid
new sql querries) to select w querry you have to show you could use a
listbox next to the datagrid (this way you wont need a tabcontrol w 28
datagrids, and i think it wil look better, certainly if you adjust the
datagrid and col properties a bit)

eric

"scorpion53061" <scorpion_53061nospamhereplease@yahoo.com> wrote in message
news:%23QavQvPuDHA.2448@TK2MSFTNGP09.phx.gbl...[color=blue]
> Hi Eric,
>
> Thank you for your help.
>
> I did what you said, created another table in the database which will hold
> the fields for this grid.
>
> Do you think I am going to have to using this method create a new datagrid
> for each tab control form?
>
> "EricJ" <ericRéMoVe@ThiSomnipack.be> wrote in message
> news:3fccbdb2$0$2877$ba620e4c@reader1.news.skynet. be...[color=green]
> > not really but i think i can set you on the right path adjust this to[/color][/color]
your[color=blue][color=green]
> > needs
> > if you create 2 tables in your db
> > 1 will hold an id, a propertytype and a property name (property type[/color][/color]
would[color=blue][color=green]
> > be 1 of your 28)
> > 2 wil hold an id, a property id, a value and a user (the property's will
> > belong to someone)
> >
> > now you can create sets of properties in your db
> >
> > in the datagrid make a selection of all rows in the 1table connected to[/color]
> the[color=green]
> > 2nd table (for a prop type)
> > this gives you a 2 col datagrid
> > (drgmain is the datagrid)
> > create a tablestyle and set the first col to readonly (you don't want[/color][/color]
the[color=blue][color=green]
> > user to edit your property names)
> > \\
> > dsForm = New DataSet("data")
> > dsForm = SqlHelper.ExecuteDataset(gstrCnn, CommandType.Text,[/color]
> strSql)[color=green]
> > Dim ts As New DataGridTableStyle
> > ts.MappingName = "Table"
> > dgrMain.TableStyles.Clear()
> > dgrMain.SetDataBinding(dsForm, "Table")
> > dgrMain.TableStyles.Add(ts)
> > ts.GridColumnStyles(0).Width = 0
> > ts.GridColumnStyles(0).ReadOnly = True
> > ts.GridColumnStyles(1).Width = 100
> > //
> >
> > then all you have left is to save the data in the database
> > i think this could be something that would work wel in a bound structure
> >
> > anyway i hope it helps
> >
> > eric
> >
> > "scorpion53061" <scorpion_53061nospamhereplease@yahoo.com> wrote in[/color]
> message[color=green]
> > news:ey89$MOuDHA.2712@TK2MSFTNGP11.phx.gbl...[color=darkred]
> > > Hi eric
> > >
> > > Thank you for your advice.
> > >
> > > I need to somehow on the datagrid control allow this to be a control a[/color]
> > user[color=darkred]
> > > can enter data and then I can assign its contents to variables (first[/color]
> > column[color=darkred]
> > > e.g. say "Author" then the next column the user would enter a value[/color][/color]
> which[color=green][color=darkred]
> > > when they clicked submit I would read and assign to variable.
> > >
> > > Do you know of a link that would help with this?
> > > "EricJ" <ericRéMoVe@ThiSomnipack.be> wrote in message
> > > news:3fcc8cce$0$3241$ba620e4c@reader0.news.skynet. be...
> > > > yust some thoughts
> > > >
> > > > 1) a tabcontrol w 28 pages w a datagrid (in the datagrid you would[/color][/color]
> have[color=green]
> > 2[color=darkred]
> > > > cols 1 for the question 2nd for the answer)
> > > >
> > > > 2) a treeview 28 main nodes
> > > > option a) clicking under the main node you split thing up a bit[/color][/color][/color]
in[color=blue][color=green][color=darkred]
> > > > subnodes
> > > > clicking a subnode would show a panel w your
> > > > textboxes (you could fill this dinamically for the selected node)
> > > > b) have a subnode for each detail (you can jump to[/color][/color][/color]
the[color=blue][color=green][color=darkred]
> > > next
> > > > detail automatically when the user made a valid input)
> > > > 3) a listbox, or combo w your 28 main items calling a panel again (w[/color][/color]
> the[color=green][color=darkred]
> > > > textboxes) keep in mind panels give scrollbars so the limited[/color][/color]
> resolution[color=green][color=darkred]
> > > > dousnt have to be a problem
> > > >
> > > > hope it helped
> > > >
> > > > eric
> > > >
> > > > "scorpion53061" <scorpion_53061nospamhereplease@yahoo.com> wrote in
> > > message
> > > > news:uyV5VANuDHA.3196@TK2MSFTNGP11.phx.gbl...
> > > > > vb.net windows app to be used on college campuses.
> > > > >
> > > > > I need to somehow think this through and come up with some ideas .[/color][/color]
> You[color=green][color=darkred]
> > > > guys
> > > > > have been good to me as far as helping me think things through so[/color][/color][/color]
I[color=blue][color=green]
> > felt[color=darkred]
> > > > > pretty confident coming here.
> > > > >
> > > > > I have a situation where I need to account for 28 different types[/color][/color][/color]
of[color=blue][color=green][color=darkred]
> > > data
> > > > > entering situations each having about 35 textboxes and[/color][/color][/color]
corresponding[color=blue][color=green][color=darkred]
> > > > labels
> > > > > and each textbox has a variable. If the textbox is empty when they[/color]
> > click[color=darkred]
> > > > > submit the variable is left blank which is important for how I[/color][/color]
> format[color=green][color=darkred]
> > > the
> > > > > data. When clicking submit these variables would be recorded to a[/color]
> > access[color=darkred]
> > > > > database.
> > > > >
> > > > > If you were me, how would you approach this situation? Would you[/color][/color][/color]
use[color=blue]
> a[color=green][color=darkred]
> > > tab
> > > > > control? Do you think it would be poor practice to have 2 tabs[/color][/color][/color]
where[color=blue][color=green]
> > the[color=darkred]
> > > > > user had to click a second tab(planning for a min 800x600 screen[/color][/color][/color]
and[color=blue][color=green]
> > not[color=darkred]
> > > > all
> > > > > textboxes would fit on one tab).
> > > > >
> > > > > Your thoughts please and they are much appreciated.
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >[/color]
> >
> >[/color]
>
>[/color]


Closed Thread