Hi,
The problem i'm having is with about 4 Queries datasheet column widths (not sure if i'm saying that in the most technical terms lol).
I have an access database that with VBA i have it creating a querydef. Each time the program is run the query is deleted and created again with the querydef object. Problem is on the same button click the queries are being deleted and created a report is being opened with the information from them.
in the report i have a subform/subreport showing the actually query and beside it a pie graph with the information. The pie graph is completely fine my problem is with the subreport. the subreport is showing the datasheet if im correct and everytime the query is deleted and created again the column width becomes default again and so it is cutting off some of the data.
so basically im wondering is there a way in my VBA after i create the Query to set the queries column width? or should i be doing this some other way?
The problem i'm having is with about 4 Queries datasheet column widths (not sure if i'm saying that in the most technical terms lol).
I have an access database that with VBA i have it creating a querydef. Each time the program is run the query is deleted and created again with the querydef object. Problem is on the same button click the queries are being deleted and created a report is being opened with the information from them.
in the report i have a subform/subreport showing the actually query and beside it a pie graph with the information. The pie graph is completely fine my problem is with the subreport. the subreport is showing the datasheet if im correct and everytime the query is deleted and created again the column width becomes default again and so it is cutting off some of the data.
so basically im wondering is there a way in my VBA after i create the Query to set the queries column width? or should i be doing this some other way?