| 发表于:2007-03-29 13:20:46 楼主 |
连接foxpro,用一段sql去读取数据库内容,sql语句如下: select employee.firstname as firstname, employee.emplnum as emplnum, pnchslic.begrndtime as begrndtime, pnchslic.endrndtime as endrndtime, pnchslic.reg as reg, pnchslic.ot1 as ot1, pnchslic.ot2 as ot2, pnchslic.ot3 as ot3, pnchslic.attendcode as attendcode, pnchslic.begattend as begattend, pnchslic.endattend as endattend, dept.name from pnchslic, employee, dept where pnchslic.emplnum = employee.emplnum and pnchslic.department = dept.number 现在问题很奇怪,就是这段语句直接在foxpro中执行可以读取到数据,可是在程序里面怎么整都出不来数据,也没有异常,就是出来数据行数为0,通过dataadapter的预览数据也一样没有数据,很急! |
|
|
|
|