开发者

crystal report substring

开发者 https://www.devze.com 2022-12-17 11:22 出处:网络
SUBSTRING(SLAC_CNTRL_ACNO, 3, 4) how can i use this qu开发者_开发百科ery in crystal reportInstead of substring, Crystal Reports uses mid function:

SUBSTRING(SLAC_CNTRL_ACNO, 3, 4)

how can i use this qu开发者_开发百科ery in crystal report


Instead of substring, Crystal Reports uses mid function:

mid(SLAC_CNTRL_ACNO, 3, 4)


Either the entire SQL query needs to be in a Command OR you can use a SQL Expression field if the sub-query returns a scalar value.

See my posting, Crystal Reports: Using SQL Expression Fields.

0

精彩评论

暂无评论...
验证码 换一张
取 消