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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

outputto: value for encoding

Status
Not open for further replies.

maeli64

Programmer
Joined
Aug 10, 2004
Messages
3
Location
IT
In a procedure, I use the command:
DoCmd.OutputTo acOutputReport, "myreport", acFormatTXT, "myfile.html", False
It works but I must known the value for the encoding of unicode to write a commnd like this:
DoCmd.OutputTo acOutputReport, "mioreport", acFormatTXT, "miofile.html", False, , ???????

I try to find the constant for encoding (I try with Unicode, acUnicode, acEncodingUnicode) nothing happends.

Please help me!!!
 
I don't even see that parameter in the structure of the command...


DoCmd.OutputTo objecttype[, objectname][, outputformat][, outputfile][, autostart][, templatefile]


Where are you getting this last parameter after the template?

ProDev, MS Access Applications
Visit me at ==>
May God bless you beyond your imagination!!!
 
I find it in help from Msaccess 2000 and 2002
and also in the site:

after "template" it seem you can put an
Encoding like Optional Variant.

I need to obtain an encoding Unicode but I don't find the constant to use.
For OutputFormat or ObjectType there are a list but for Encoding I'm not able to find something similar.

Thanks for help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top