I know for sure this is just a simple problem - but i just can't figure it out on how to solve it. I am using a query to import a result query to xls but what i want to do now is that - i want to change the field names of the table.
My query consist of some expressions so the Fielname consist of Expr1, Expr2 etc... i want to change it to some descriptive field name.
Here's my code:
DoCmd.OutputTo acOutputQuery, "Sample", "MicrosoftExcel(*.xls)", "\Sample\" & "_" & strDate & ".xls"
do i have to add something? Please advice
My query consist of some expressions so the Fielname consist of Expr1, Expr2 etc... i want to change it to some descriptive field name.
Here's my code:
DoCmd.OutputTo acOutputQuery, "Sample", "MicrosoftExcel(*.xls)", "\Sample\" & "_" & strDate & ".xls"
do i have to add something? Please advice