Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

filtering reports and sendto

Status
Not open for further replies.

jeffmoore

Programmer
Aug 29, 2003
301
US
I have a form that is emailing a report using either the sendto or outputto action.
The problem is that I cant seem to filter the thing.
if i set the properties inthe onopen like:
me.filter="holdnum=" & passholdnum
me.filteron

access tells me it cant perform this action
BTW passholdnum is a global

if i set the FILTER prop. in the reports prop box
it asks be for the var passholdnum
with the parameter box.

if i bais the report on a query with passholdnum it again asks for passhuldnum in the parameter box

can i change the title to the parameterbox to something more meaningful?

better how do i pass the !@##$% passholdnum var.
TIA
jeff
 
try
me.filter = "holdnum = '" & passholdnum & "'"




[pc]

Graham
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top