I am trying to set the column widths in DBGrid1
The first 3 field columns in my DBGrid1 need to be only 4 or 5 chars.
wide.
I would like to set them with code, so they are the correct width when
I run the program, rather than adjust them after I start the program.
Any help as to how/where this is to be done would be greatly
appreciated.
TKS
Bill Dannels (NewBee)
Private Sub cmdFindCustNo_Click()
Sqlcode2 = "SELECT ORDERS.CUSTNO, ORDERS.DATE, ORDERS.PLANTORNU,
CUSTOMER.NAME," _
& " ORDERS.QUANITY, ORDERS.WSize, ORDERS.LSize, ORDERS.Each,
ORDERS.PricePerM" _
& " FROM CUSTOMER INNER JOIN ORDERS ON CUSTOMER.CUSTNO =
ORDERS.CUSTNO" _
& " WHERE CUSTOMER.CUSTNO =" & txtFindCustNo
Data1.RecordSource = Sqlcode2
Data1.Refresh
End Sub