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.
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
Bill Dannels (NewBee)
Private Sub cmdFindCustNo_Click()
Sqlcode2 = "SELECT ORDERS.CUSTNO, ORDERS.DATE, ORDERS.PLANTORNU,
& " ORDERS.QUANITY, ORDERS.WSize, ORDERS.LSize, ORDERS.Each,
& " FROM CUSTOMER INNER JOIN ORDERS ON CUSTOMER.CUSTNO =
& " WHERE CUSTOMER.CUSTNO =" & txtFindCustNo
Data1.RecordSource = Sqlcode2