query def column width

mlopes1

Registered User.
Local time
Today, 02:12
Joined
Sep 4, 2002
Messages
76
I created a query using SQL on a OnClick event. Query is displayed in datasheet view. I would like for each time query runs, the column widths be auto sized. Data in a few columns will vary in length each time. Is this possible? I looked at columnwidths property etc., with no luck. Hoping someone here may know.

Query Code:
strSQL = "SELECT Total_List.Stock_Number, Total_List.Qty, " & _
"Total_List.Gross_Wt, Total_List.Tariff_Fraction " & _
"FROM Total_List " & _
"WHERE [Company#] = " & Com_Num

...rest of code


Grazie,

Marco
 

Users who are viewing this thread

Back
Top Bottom