Professional Documents
Culture Documents
SC
SC
'Number of record
xjmlrecord = dsMaster.Tables("dtListResep").Rows.Count
xrowpos = DgwMasterResep.CurrentCell.RowIndex
'tabel resep
xcounter = 0
xketemu = False
TxtKodeResep.Text = dsMaster.Tables("dtListResep").Rows(xcounter).Item(0)
TxtNamaResep.Text = dsMaster.Tables("dtListResep").Rows(xcounter).Item(1)
TxtJenisBenang.Text =
dsMaster.Tables("dtListResep").Rows(xcounter).Item(2)
xketemu = True
End If
xcounter = xcounter + 1
End While
BtnTambah.Enabled = False
BtnUbah.Enabled = True
PanelBtn2.Enabled = True
Me.BtnUbah.Focus()
End If
End Sub