I use an inputbox in my project to get data to input into a database. The problem is that if the user clicks cancel on the input box it takes the default value in the inputbox. How can I exit the procedure if cancel is clicked? This is how my inputbox looks:
sTeamName := inputbox('Team Name','Enter a team name','Phillies');
Here if the user were to click cancel, sTeamName will = 'Phillies'. I can't validate that the default value is stored in the variable, because the default value is possibly what the user wants to enter. Is there like a if inputbox.cancel.click exit or something?