i Guys
I really need som advice about an issue i am facing in my database..
I am buildning a database where the user would be able to enter a value in one of the text boxes, the value will range between a max of (100) and a min of (<5), ie the enteries in this field could be 100, 55, 64, 24, etc etc or <5
now here is the delema and problem:
1- I want to allow the user to input the value <5 and this means that the data type property of the corresponding column in the DB has to be (Text) because if i choose (Number) the the database will protest when i write <5 since the symbple (<) is not a numerical
2- The data in that specific column will have to be searchable, ie i need to have a function that can find all enteries who have a value between 2 refernces, let us say i need all enteries who have a value between 10 and 20, such function will need to use mathmatical operations which can only be applied on numerical typeof data
so that is the problem, the data has to be numerical to be mathmatically searchable but also text type data to allow users to use symbols (<)
I really dont know how to solve that, dose anyone please have a suggestions???
I really need som advice about an issue i am facing in my database..
I am buildning a database where the user would be able to enter a value in one of the text boxes, the value will range between a max of (100) and a min of (<5), ie the enteries in this field could be 100, 55, 64, 24, etc etc or <5
now here is the delema and problem:
1- I want to allow the user to input the value <5 and this means that the data type property of the corresponding column in the DB has to be (Text) because if i choose (Number) the the database will protest when i write <5 since the symbple (<) is not a numerical
2- The data in that specific column will have to be searchable, ie i need to have a function that can find all enteries who have a value between 2 refernces, let us say i need all enteries who have a value between 10 and 20, such function will need to use mathmatical operations which can only be applied on numerical typeof data
so that is the problem, the data has to be numerical to be mathmatically searchable but also text type data to allow users to use symbols (<)
I really dont know how to solve that, dose anyone please have a suggestions???