[Solved] Need help with query to Calc
Posted: Wed Apr 27, 2022 2:05 am
My database table includes fields that are currency number format. I run my queries from Calc via connected database/registered database, F4. In the top section showing the database, I select the query from listing in left side, it populates the right side of the top section with the data results. This includes the fields that are shown as currency ($ USD) just fine. The top section results are correct in appearance for all fields/columns.
Next step is to 'copy' the query results into the Calc sheet. I grab the query name and drag it to the sheet and drop it. The sheet is then fully populated with the data results for that query; however, the fields/columns that are currency show up as numeric only, not currency. Would be helpful to have the same formatting carry over into the Calc sheet. Of course I can change the columns format to currency where needed. It's tedious and time consuming to have to do this when these queries are run daily, and one database may have 15 queries all run into separate Calc sheets, with multiple currency formatted columns.
I have tried everything I can think of, but nothing seems to help to keep the original format when copied to the Calc sheet. The table(s) fields are all set for currency, the queries fields are set for currency also.
If anyone has an idea of how I can get the database query results to carry over to Calc and keep field/column format, please respond. Thanks in advance.
Next step is to 'copy' the query results into the Calc sheet. I grab the query name and drag it to the sheet and drop it. The sheet is then fully populated with the data results for that query; however, the fields/columns that are currency show up as numeric only, not currency. Would be helpful to have the same formatting carry over into the Calc sheet. Of course I can change the columns format to currency where needed. It's tedious and time consuming to have to do this when these queries are run daily, and one database may have 15 queries all run into separate Calc sheets, with multiple currency formatted columns.
I have tried everything I can think of, but nothing seems to help to keep the original format when copied to the Calc sheet. The table(s) fields are all set for currency, the queries fields are set for currency also.
If anyone has an idea of how I can get the database query results to carry over to Calc and keep field/column format, please respond. Thanks in advance.