A
Adam
I'm trying to assign a variable "s1" to whatever value is
entered into the text box side1.text with;
s1 = CDbl(side1.Text)
This works if there is a value in side1.text but it errors
if there isn't, how can I make it so it will ignore it
until side1.text gets a value
I was thinking
if side1.text=<>"" then
s1 = Cdbl(side1.text)
end if
would work but in this program side1.text will be filled
later when the other data is computed, so I need to figure
out a way for it to just ignore it until that happens, any
help would be appreciated. Thanks.
-Adam
entered into the text box side1.text with;
s1 = CDbl(side1.Text)
This works if there is a value in side1.text but it errors
if there isn't, how can I make it so it will ignore it
until side1.text gets a value
I was thinking
if side1.text=<>"" then
s1 = Cdbl(side1.text)
end if
would work but in this program side1.text will be filled
later when the other data is computed, so I need to figure
out a way for it to just ignore it until that happens, any
help would be appreciated. Thanks.
-Adam