Dim MyDC0 As LongPtr Dim MyDC1 As LongPtr
Private Const PS_SOLID As Long = 0 Private Const WHITE_BRUSH As Long = 0 Private Const GRAY_BRUSH As Long = 2 Private Const CWIDTH As Long = 1500 Private Const CHEIGHT As Long = 1500
Dim rs As DAO.Recordset
Set rs = db.OpenRecordset(Sql, dbOpenForwardOnly, dbReadOnly) Do Until rs.EOF