Hi,
Following on from my previous post regarding reports I now have another problem with the report I am creating. the intial problem I had was that I could not order a report properly as the column was a text field not a number field. I solved this problem with help from your good selves by using the Val([Fieldname]) function.
The next problem is that I now need to show data that is between two entered codes. The codes are numbers but are in a text field. I am using the BETWEEN command aswell as Val([Fieldname]) command in my SQL, however if I was to search between codes 1 and 2, it still shows all codes between 1 and 29. Obviously the data is still being seen as text and not a number.
If anyone can help with this problem then it would be greatly appreciated... also if I've not described the problem well enough or it doesnt make sense then let me know and I will try and ellaborate!!
Thanks in advance.
Andy
Following on from my previous post regarding reports I now have another problem with the report I am creating. the intial problem I had was that I could not order a report properly as the column was a text field not a number field. I solved this problem with help from your good selves by using the Val([Fieldname]) function.
The next problem is that I now need to show data that is between two entered codes. The codes are numbers but are in a text field. I am using the BETWEEN command aswell as Val([Fieldname]) command in my SQL, however if I was to search between codes 1 and 2, it still shows all codes between 1 and 29. Obviously the data is still being seen as text and not a number.
If anyone can help with this problem then it would be greatly appreciated... also if I've not described the problem well enough or it doesnt make sense then let me know and I will try and ellaborate!!
Thanks in advance.
Andy