robmoors
Programmer
- Jan 10, 2001
- 24
Can someone please tell me what's the equivalent of Access's Switch(,,) statement in Foxpro. I know the IIF statement but not the Switch.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
DO CASE
CASE CityName = "London"
MatchUp = "English"
CASE CityName = "Paris"
MatchUp = "French"
CASE CityName = "Rome"
MatchUp = "Italian"
OTHERWISE
MatchUp = "No Match"
ENDCASE