使用access2000,ADOQuery,Delphi6,不用BDE1。都是取最大值,两句执行不一样:
Select Max(No) as MaxNo from record 返回 0
Select Max(ToDayNo) as MaxToDayNo from where Date = :Date 返回正确2。在access中设好的日期,时间格式,到DBGrid中显示如02-4-2,99-12-30 3:23:42,
我知道用string代替可以解决显示问题,但查询不方便3。如何打包发布到另一台机器上,没装Delphi6,access,是win2kp的OS