在软件使用中,我用fastreport设计报表,可以用gettablevalue来直接读取数据表中的字段值,便是这里只能有一个比较条件,如果我有两个或两个以上比较条件,应该怎么办呢?
比如:gettablevalue可以写成select F1 from table1 where F2='value'
我现在要实现这样的语句:
select F1 from table1 where F2='V1' and F3='V2' and F3='V3'我改怎么用呢。
...全文
655打赏收藏
急急急!fastreport问题!
在软件使用中,我用fastreport设计报表,可以用gettablevalue来直接读取数据表中的字段值,便是这里只能有一个比较条件,如果我有两个或两个以上比较条件,应该怎么办呢? 比如:gettablevalue可以写成select F1 from table1 where F2='value' 我现在要实现这样的语句: select F1 from table1 where F2='V1' and F3='V2' and F3='V3'我改怎么用呢。