D
Denisas Bykovas
I have a promblem undarsatnding functions SelTop SelLeft SelHeight SelWidth.
I have form with subforms "Waiting", "Accepted", and two button "AcceptAll",
"AcceptSelected", on button "AcceptAll" press I want each record in subform
get a new value and I use this code:
Private Sub CommandAcceptAll_Click()
Dim ds As DAO.Recordset: Set ds =
Me!NewManufactureEntry_Accepted.Form.RecordsetClone: ds.MoveFirst
Do While Not ds.EOF
ds.Edit
ds("StatusID") = 1
ds("ManufaktureEntryID") = Null
ds.Update
ds.MoveNext
Loop
Me!NewManufactureEntry_Accepted.Requery
Me!NewManufactureEntry_Waiting.Requery
End Sub
What I want program to do when I press on button "AcceptSelected" is to
change only selected records. Please help me with this, for I haven't use
access before and this is my firs db.
I have form with subforms "Waiting", "Accepted", and two button "AcceptAll",
"AcceptSelected", on button "AcceptAll" press I want each record in subform
get a new value and I use this code:
Private Sub CommandAcceptAll_Click()
Dim ds As DAO.Recordset: Set ds =
Me!NewManufactureEntry_Accepted.Form.RecordsetClone: ds.MoveFirst
Do While Not ds.EOF
ds.Edit
ds("StatusID") = 1
ds("ManufaktureEntryID") = Null
ds.Update
ds.MoveNext
Loop
Me!NewManufactureEntry_Accepted.Requery
Me!NewManufactureEntry_Waiting.Requery
End Sub
What I want program to do when I press on button "AcceptSelected" is to
change only selected records. Please help me with this, for I haven't use
access before and this is my firs db.