Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Can't get data from Excel Post Reply Post New Topic
Author Message
i-dot
Newbie
Newbie
Avatar

Joined: 17 Sep 2009
Location: Malaysia
Online Status: Offline
Posts: 14
Quote i-dot Replybullet Topic: Can't get data from Excel
    Posted: 27 Oct 2009 at 11:27pm
Hi,
i'm using 2 types of database which are SQL and excel. in CR i created group based on products model (formula). In excel the database shows the sales qty based on model and customers. therefore, in CR i would like to export data of sales qty which based on model and customers. and then,  i created a formula as below but it only workout for one model.
 
formula:
IF GroupName ({@Model}) = {Sheet1_.MODEL} and {tdsls401.ofbp}= {Sheet1_.customer}  then
{Sheet1_.sales qty mei}
else 0
 
in Excel, database is as below
customer     model      sales qty mei
a                  VA            20
a                  VB              1
b                  TC             50
 
the result that i got is only " a         VA     20" others didnt get.
 
hope anybody can help me.. 
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.018 seconds.