if txtD1.text <> " " or txtP1.text <> 0 then
In the above case you test a zero value
If you want to test a 0 character:
if txtD1.text <> " " or txtP1.text <> "0" then
Good job![]()
|
Results 1 to 9 of 9
Thread: If Statement problem...Threaded View
|
Click Here to Expand Forum to Full Width |