Hi,
a quick and dirty solution might be altering the field type to be a character string since the format you are using allows comparision operators to work as expected, for example "19990112" is literally less than "20010822". Also, exporting as character strings would fix your display format. I don't know if MS can dynamically cast the value in case arithmetic operations are involved. So this solution might or might not work for you. _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users