Hi..
Im trying to output a report in which Im suing the following line of code:
DoCmd.OutputTo acOutputReport, strReportName, , _ strOutputLocation, 0
As you can see, I've not included the format I want to output to. The reason being is that I want to output to a SnapShot file.
If I leave this part of the code out, I get a prompt to say what format I would like to output to and this includes the snapshot file... thats all fine and dandy however I cannot find the right object constant to hard code (ie preventing the user making another choice as I dont want other file types used).
My options that access provides are:
acFormatActiveXServer (asp page)
acFormatHTML (HTML Page)
acFormatIIS (server page)
acFormatRTF (Rich text page)
acFormatTXT (text document)
acFormatXLS (spreadsheet.....)
What would be my pot of gold would be for an acFormatSNP...
As I can't have this (to my knowledge) I would appreciate any alternatives.
Thanks!
Im trying to output a report in which Im suing the following line of code:
DoCmd.OutputTo acOutputReport, strReportName, , _ strOutputLocation, 0
As you can see, I've not included the format I want to output to. The reason being is that I want to output to a SnapShot file.
If I leave this part of the code out, I get a prompt to say what format I would like to output to and this includes the snapshot file... thats all fine and dandy however I cannot find the right object constant to hard code (ie preventing the user making another choice as I dont want other file types used).
My options that access provides are:
acFormatActiveXServer (asp page)
acFormatHTML (HTML Page)
acFormatIIS (server page)
acFormatRTF (Rich text page)
acFormatTXT (text document)
acFormatXLS (spreadsheet.....)
What would be my pot of gold would be for an acFormatSNP...
As I can't have this (to my knowledge) I would appreciate any alternatives.
Thanks!