使用关键字令牌'消息'无效

时间:2013-09-17 06:04:37

标签: delphi informix

当我尝试使用tQuery并且我的查询是

时,我在delphi中遇到了这个问题
   SELECT membership_number, message_id, message, target, date_time_creation,
   date_time_display
   FROM MessageMembership
   WHERE membership_number = :membershipnumber    
   ORDER BY date_time_display desc;

我正在使用以下代码:

MessageMembershipSelectQuery.ParamByName('membershipnumber').AsString := 
custQuery.FieldByName('cust_code').AsString;
  MessageMembershipSelectQuery.Open;

让我知道如何解决此问题

0 个答案:

没有答案