Professional Documents
Culture Documents
End Sub
End Sub
End Sub
End Sub
End Sub
End Sub
End Sub
End Sub
End Sub
End Sub
txtharga.Enabled = False
txtstok.Enabled = False
End Sub
txtharga.BackColor = &H80000015
txtstok.BackColor = &H80000015
End Sub
txtstok.Text = Str(dbbuku.Recordset!stok)
End Sub
Sub muja()
Dim awal As String
Dim no As Double
Dim nis As String
'Sub kode_barang()
'If Adodc1.Recordset.RecordCount <= 0 Then
' GoTo ni:
'End If
'Adodc1.Recordset.MoveFirst
'Do Until Adodc1.Recordset.EOF
'cmbkode.AddItem (Adodc1.Recordset!kd_barang)
'Adodc1.Recordset.MoveNext
'Loop
'ni:
'End Sub
End Sub
Sub nomor()
Dim awal As String
Dim no As Double
Dim nih As String
awal = Left(txtstatus.Text, 3)
With dbuser.Recordset
If .RecordCount = 0 Then
nih = awal & "01"
Else
.MoveLast
no = Format(Val(Right(!kd_user, 2) + 1))
nih = awal & Right("00" & no, 2)
End If
End With
txtkode.Text = nih
End Sub
Private Sub gelap()
txtkode.BackColor = &H80000015
txtstatus.BackColor = &H80000015
txtnama.BackColor = &H80000015
pass.BackColor = &H80000015
End Sub
End Sub
End Sub
MODULES
DESIGNERS
Private Sub DataReport_Error(ByVal JobType As
MSDataReportLib.AsyncTypeConstants, ByVal Cookie As Long, ByVal ErrObj As
MSDataReportLib.RptError, ShowError As Boolean)
End Sub
End Sub