mhappy:
茶壶啊,还是那个问题,偶把代码贴出来了...
[阅读: 431] 2006-09-26 08:22:47
fxDM->adsNotifyList->Close();
fxDM->adsNotifyList->CommandText="select * from fx_tab_notifies where NotifySendTime between :TimeStart and :TimeEnd";
fxDM->adsNotifyList->Parameters->ParamByName("TimeStart")->Value=dtStart;
fxDM->adsNotifyList->Parameters->ParamByName("TimeEnd")->Value=dtEnd;
*/
fxDM->adsNotifyList->Open();
以上代码无效. dtStart/dtEnd都是TDATETIME.