GillinghamFC
Programmer
I have a report created from a query. Some clients want .rtf others may want .xls. I pass a variable "FileFormat" as a string from a table. The problem is the value is read as "acFormatRTF" not acFormatRTF. I have tryed Eval(FileFormat) but it still doesn't work.
Anyone have any ideas?
FileFormat is variable passed from a database table.
DoCmd.SendObject acSendReport, "DailyDealsAll", FileFormat, _
strToWhom, , , "Test Data", _
"", intSeeOutlook
Anyone have any ideas?
FileFormat is variable passed from a database table.
DoCmd.SendObject acSendReport, "DailyDealsAll", FileFormat, _
strToWhom, , , "Test Data", _
"", intSeeOutlook