Have alreay setup a program which takes many details majority of them are or only numberical entry.
Have got tp the area of "how silly can a user be"
The tex boxes data get added to a variable, calculations are made and a message will come up dependent on the data they have entered. But what if they ad text to the textboxes? Then the program will bomb when it trys to put the data into the variable(Integer). If I set the variable to a variant then the calculations can't be made.
Could use the masked edit but the lenght of the numerical data will not be set.
Anyone hae some ideas on how to get around this either setting the text box to only acept numerical data or other
Have got tp the area of "how silly can a user be"
The tex boxes data get added to a variable, calculations are made and a message will come up dependent on the data they have entered. But what if they ad text to the textboxes? Then the program will bomb when it trys to put the data into the variable(Integer). If I set the variable to a variant then the calculations can't be made.
Could use the masked edit but the lenght of the numerical data will not be set.
Anyone hae some ideas on how to get around this either setting the text box to only acept numerical data or other