Professional Documents
Culture Documents
Fungsi Pertanggal
Fungsi Pertanggal
If KeyAscii = 13 Then
st.SetFocus
End If
End Sub
Response = acDataErrContinue
Me.Recordset.MovePrevious
Me.Recordset.MoveNext
End If
End Sub
'MsgBox Me.Caption
End Sub
If KeyAscii = 13 Then
tampilkan.SetFocus
End If
End Sub
DoCmd.SetWarnings False
DoCmd.RunSQL "update perbulan set dt = '" & dt & "', st = '" & st & "'"
Else
DoCmd.OpenForm "pemecah_invoice"
Form_pemecah_invoice.Caption = Form_pertanggal.Caption
'msgbox caption
Form_pemecah_invoice.Caption = Form_pertanggal.Caption
If Form_pertanggal.Caption = "outbound Pertanggal" Or Form_pertanggal.Caption = "outbound
Perawb Pertanggal" Or Form_pertanggal.Caption = "outbound Perkode Pertanggal" Then
With Form_pemecah_invoice
.no_invoice_pecahan.SetFocus
End With
With Form_pemecah_invoice
.no_invoice_pecahan.SetFocus
End With
ElseIf Form_pertanggal.Caption = "City Courier Pertanggal" Or Form_pertanggal.Caption = "City
Courier Perawb Pertanggal" Or Form_pertanggal.Caption = "City Courier Perkode Pertanggal" Then
With Form_pemecah_invoice
.no_invoice_pecahan.SetFocus
End With
With Form_pemecah_invoice
.no_invoice_pecahan.SetFocus
End With
ElseIf Form_pertanggal.Caption = "COD Pertanggal" Or Form_pertanggal.Caption = "COD Perawb
Pertanggal" Or Form_pertanggal.Caption = "COD Perkode Pertanggal" Then
With Form_pemecah_invoice
.no_invoice_pecahan.SetFocus
End With
With Form_pemecah_invoice
.no_invoice_pecahan.SetFocus
End With
End If
End If
End Sub