Hello all...ive read other threads of people trying to do this, but they all seem psuedo code...nothing i can really grasp dealing with this.
I want to send a report attached to an e-mail, but i only want the person to see a specific report...based upon their ID number. I have the report made called contracts. here is my code for sending
DoCmd.SendObject acSendReport, "Contract", acFormatRTF,_ TTo, CC, "", Subject, Msg, False
Contract is the name of the report...but it attaches all contracts...i would like to limit it by whatever mean neccesary, perhaps a query, or a direct select statement?...
thanks,
eric
I want to send a report attached to an e-mail, but i only want the person to see a specific report...based upon their ID number. I have the report made called contracts. here is my code for sending
DoCmd.SendObject acSendReport, "Contract", acFormatRTF,_ TTo, CC, "", Subject, Msg, False
Contract is the name of the report...but it attaches all contracts...i would like to limit it by whatever mean neccesary, perhaps a query, or a direct select statement?...
thanks,
eric