S
Stephen Russell
Any way to evaluate aspects of what was passed? I have a need to add multi
functional operations to a text box. I need to take a # an multiply it,
divide it, just change it to the new one, or leave it alone. I was hoping
to get fancy with Switch & Case.
string lc1 = textbox15.Text;
switch lc1
case lc1.Lenth =0:
sb.Append("'"+this.MmTextBox10.Text.Trim()+"' as ap_pcthi, ");
break ;
case lc1.Lenth >0:
case substring(lc1,1,1) = "/":
case substring(lc1,1,1) = "*":
Any ideas on getting something like this to work without a hundred IF()s. I
have allot of textboxes!!!
--
Stephen Russell
S.R. & Associates
Memphis TN
901.246-0159
Steve says get rid of the notat_ to send him a reply!
functional operations to a text box. I need to take a # an multiply it,
divide it, just change it to the new one, or leave it alone. I was hoping
to get fancy with Switch & Case.
string lc1 = textbox15.Text;
switch lc1
case lc1.Lenth =0:
sb.Append("'"+this.MmTextBox10.Text.Trim()+"' as ap_pcthi, ");
break ;
case lc1.Lenth >0:
case substring(lc1,1,1) = "/":
case substring(lc1,1,1) = "*":
Any ideas on getting something like this to work without a hundred IF()s. I
have allot of textboxes!!!
--
Stephen Russell
S.R. & Associates
Memphis TN
901.246-0159
Steve says get rid of the notat_ to send him a reply!