Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pervasive 7 SQL - XQLFetch using Visual Basic

Status
Not open for further replies.

sc7014

Programmer
Oct 12, 2004
1
US
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???
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top