Dim Rst As ADODB.Recordset
Dim Sql As String
Set Rst = New ADODB.Recordset
Sql = "SELECT 日期,订单号,产品名称,原料,原料型号,色号,是否填充,开料色号,备注 FROM 开料记录"
Rst.Open Sql, CurrentProject.Connection, adOpenKeyset, adLockOptimistic
If Rst.RecordCount > 0 Then
Rst.MoveFirst
Dim Ctr As Control
For Each Ctr In Me.Controls
If Right(Ctr.Tag, 3) = "Cha" Then