Thanks, that did it, I have another question for you. I believe I need
to use Dlookup. in that same report, I have a vendor number that shows
on the report but I need to pull in the name. Usually I would just add
the vendname field in the query and bring it into the report, but in
this case I don't want to do it that way because I'm grouping
information and adding vendname complicates things since there are
multiple names for the same vendor. So to keep the records simple I
just have the items attached to the vendornumber. Anyways, in the
report I added a textbox where I'd like to pull in the vendor name to
match the vendor number on the report. I was thinking Dlookup. But I
do not know how to set up.
=DLookUp("[VENDORNAME]","SQLDAT3_APVMAS","[VEND_NUM] = " &
[SQLDAT3_APVMAS])
here are the fields.
VENDORNAME is the vendor name
SQLDAT3_APVMAS is the table inwhich it pulls from
VEND_NUM is the vendor number where it'll match to the name
Can you help?
Ryan
Absolutely correct if that is the name of the field in your main report.
Type it into a text box which you have placed in your report footer.
However, if this field is a subreport then the syntax is slightly different.
Don't be afraid to experiment - if it all goes wrong, just close without
saving - or copy and paste your report and experiment on the copy.
Evi
I have a report, I have a footer that has =[WIMS_SUB_VEND], I want
this to count the number of wim_subs is it =count[WIMS_SUB_VEND]?