can someone help me here.I am getting number is required error message.thank you
stringvar mp;
if not isnull({U_PERMIT.MILE_PT_BEG}) then
mp = {U_PERMIT.MILE_PT_BEG}
else
mp ='0000000000';
select uppercase({?sortfield})
case 'SUBAREA' : {DISTRICT_SUBAREA.CODE}
case 'CONTROLSECTION' : {U_PERMIT_SEGMENT.CONTROL_SECTION}
case 'BEGREFPOINT' : {U_PERMIT.MILE_PT_BEG}
case 'TRUNKHIGHWAY' : {U_PERMIT_SEGMENT.TRUNK_HIGHWAY}
case 'PERMITNUMBER' : {U_PERMIT.PERMIT_NUMBER}
default: {U_PERMIT_SEGMENT.TRUNK_HIGHWAY}+mp+{U_PERMIT_SEGMENT.CONTROL_SECTION}
stringvar mp;
if not isnull({U_PERMIT.MILE_PT_BEG}) then
mp = {U_PERMIT.MILE_PT_BEG}
else
mp ='0000000000';
select uppercase({?sortfield})
case 'SUBAREA' : {DISTRICT_SUBAREA.CODE}
case 'CONTROLSECTION' : {U_PERMIT_SEGMENT.CONTROL_SECTION}
case 'BEGREFPOINT' : {U_PERMIT.MILE_PT_BEG}
case 'TRUNKHIGHWAY' : {U_PERMIT_SEGMENT.TRUNK_HIGHWAY}
case 'PERMITNUMBER' : {U_PERMIT.PERMIT_NUMBER}
default: {U_PERMIT_SEGMENT.TRUNK_HIGHWAY}+mp+{U_PERMIT_SEGMENT.CONTROL_SECTION}