As a test i did a MessageModal>StockSheet_10_13 which is one of the fields that stores a number. The resulting messagebox is blank. If I add a letter in front of the number in field _10_13 the message box displays the result perfectly.
Would anyone know the cause of this behaviour?
Code: Select all
Let>connStr=Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\StockPOS\Test.xls;Extended Properties="Excel 8.0;Hdr=No;"
DBConnect>connStr,dbH
Let>SQL=select * from [Sheet1$]
DBQuery>dbH,SQL,StockSheet,nR,nF
DBClose>dbH
Let>StrResult=Start
Let>r=0
Repeat>r
Let>r=r+1
Let>f=0
Repeat>f
Let>f=f+1
Let>this_field=StockSheet_%r%_%f%
Concat>StrResult,this_field
Until>f=nF
Until>r=nR
MessageModal>StrResult