R
Ron
Can something like this be done?
Say I have two buttons a Prepare and Calculate button.
when the user hits Prepare, it looks to combo boxes, sees what is
selected and displays apprpriate labels and text boxes and hides the
ones not needed
for example
for btnPrepare_Click......
dim var1 as string = cboSelected.text
dim var2 as string = cboSelectiontwo.text
if var1="All" and Var2="Qty" then
..... show some textboxes hide others etc.
.....
Now I also have a Calculate button and when that is pressed i want to
take values and calc them.
Can I somehow give every IF Block above a name and then use it there
for btnCalculate_Click
i dont know if this makes sense but thanks for any help
Say I have two buttons a Prepare and Calculate button.
when the user hits Prepare, it looks to combo boxes, sees what is
selected and displays apprpriate labels and text boxes and hides the
ones not needed
for example
for btnPrepare_Click......
dim var1 as string = cboSelected.text
dim var2 as string = cboSelectiontwo.text
if var1="All" and Var2="Qty" then
..... show some textboxes hide others etc.
.....
Now I also have a Calculate button and when that is pressed i want to
take values and calc them.
Can I somehow give every IF Block above a name and then use it there
for btnCalculate_Click
i dont know if this makes sense but thanks for any help