Crystal reports 如何使用crystal report中的公式在数组中存储数据?

Crystal reports 如何使用crystal report中的公式在数组中存储数据?,crystal-reports,crystal-reports-2008,crystal-reports-xi,crystal-reports-2010,crystal-reports-8.5,Crystal Reports,Crystal Reports 2008,Crystal Reports Xi,Crystal Reports 2010,Crystal Reports 8.5,我试图使用crystal report中的公式字段存储在这段代码中计算的数据 if "TOP" in {materialDescription} or "Top" in {materialDescription} then //Storing the data into a TOP array here. else //Storing the data into a BOTTOM array here. 谁来帮帮我。谢谢。我没有继续使用存储到阵列来解决问题。我只是使用cr

我试图使用crystal report中的公式字段存储在这段代码中计算的数据

if "TOP" in {materialDescription} or 
   "Top" in {materialDescription}
then 
   //Storing the data into a TOP array here.
else
   //Storing the data into a BOTTOM array here.

谁来帮帮我。谢谢。

我没有继续使用存储到阵列来解决问题。我只是使用crystal报告中的条件if-then-else将我的顶部和底部与公式分组