M
M.A.Halim
Hi! I have a sales report that displays the monthly sales for 45 branches.
all the sales figures are stored in the sales table in the sales field and so
the months in the months field in the same table.
now Im comparing the sales of 2007 to 2006 "Which all located in the same
field" All waht I did is I created a Qry that displays the required
year"2007" for the main report and another Qry to display the sales of "2006"
for a sub Qry then i added it to my Main report and I linked child and master
fields and the display of figures went well, now when Im trying to referrence
my formula in the main report to the subreport I get error "#name?"
the formula is "=[Sales]-Reports![MySubReport]![Sales] "
Any help why the error hapens? I tried to play around like tranferring the
formula tro the sub report and even I used an Alias Name for the Sales Field
to avoid this error but no way.
Im using Access 2003.
Appreciate your continuous help
all the sales figures are stored in the sales table in the sales field and so
the months in the months field in the same table.
now Im comparing the sales of 2007 to 2006 "Which all located in the same
field" All waht I did is I created a Qry that displays the required
year"2007" for the main report and another Qry to display the sales of "2006"
for a sub Qry then i added it to my Main report and I linked child and master
fields and the display of figures went well, now when Im trying to referrence
my formula in the main report to the subreport I get error "#name?"
the formula is "=[Sales]-Reports![MySubReport]![Sales] "
Any help why the error hapens? I tried to play around like tranferring the
formula tro the sub report and even I used an Alias Name for the Sales Field
to avoid this error but no way.
Im using Access 2003.
Appreciate your continuous help