prabhafriend
03-06-2009, 03:54 AM
Hello Friends. I am Prabha Karan from Thanjavur (South India). When I was working yesterday in an access tool, I want to get a value from the user and check the entered value with some conditions. So I used the inputbox to get the value and want to use the select case statement to check the value under the conditions. Finally I wanted to display the entered text. How to display the entered text without storing it in a variable? I will give the code. Kindly, explain why this is not happening in this way? Thanks in Advance.
Select case inputbox (“Enter the value)
Case conditon1
….
…
Case condition2
….
….
Case else
“The value you entered is:” ‘Here I want to enter the input value but without using a variable which is an unnecessary one here logically.
End select
Select case inputbox (“Enter the value)
Case conditon1
….
…
Case condition2
….
….
Case else
“The value you entered is:” ‘Here I want to enter the input value but without using a variable which is an unnecessary one here logically.
End select