# CrystalReport1.SelectionFormula = "{contract.contrdate} like '1999*'"

Posted by 恩恩 on July 22, 1999 at 00:32:07:

小女子初学vb6, 请问各位大兄如果我想将
CrystalReport1.SelectionFormula = "{contract.contrdate} like '1999*'"
其中1999 变做一个variable 如 year.
应该点做?
我试过
CrystalReport1.SelectionFormula = "{contract.contrdate} like 'year*'"
and
CrystalReport1.SelectionFormula = "{contract.contrdate} like year*"
都唔得!!!

Follow Ups:

- Re: CrystalReport1.SelectionFormula = "{contract.contrdate} like '1999*'" 小小 10:01:38 7/22/99 (0)