I have a FRACAS(failure analysis and corrective action system) Application I wrote a couple of years back and have to modify the data in the job number table. Now my company wants the jobs to be Character(10) instead of Integer4. I created a new table and imported the job numbers into the new Job_no char(10) field. Originally I had menu options which brought up a page and populated a List1 table on the page. this worked fine with the job_no being Integer4. Using XQLFetch(same as before) (icursorID,ioption,ibuflen,bdatabuf,lcount,iASCIIFlag,iSpacing) I tried to bring in the data. Even job numbers like 1,2,3 come in(go into the List1 table on the page) with 9 numeric digits. job number 'ABC' comes in with 9 numeric digits. I played with the iASCIIFlag and iSpacing parameters and got nowhere. Any suggestions???