Dear Ben, I think that your problem cann't be solved. From my experiences, MapInfo has not defined the solution for the number of the range equal to 1, but ONLY for the number of the ranges equal or higher than 2. I think, that is the reason why the problem occurs. I recomend you to solve this problem within your application.
Somethink like: if number_of_ranges < 2 then select * from <table> ... change style of selected... else Create Ranges From <table> ... end Hope this help you. Regards Stefan Majtan --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 8166