JumpinJimRivers
MIS
Can someone please explain to me why I am getting the error "expected sub, function or property" for the following:
Set rst = [sub billing work items].OpenRecordset("sub billing work items", dbopendynaset)
rst [sub billing work items].Index = WorkItemID
rst [sub billing work items].Seek = Me!WorkItemID
rst [sub billing work items].Edit
rst [sub billing work items].paid = DSum("[amount]", "[sub billing items monthly]", "[workitemid]=" & Me![WorkItemID])
rst [sub billing work items].Update
Me.Parent![billing work items subform].Requery
all i want to do is open a table and update a field based on WorkItemID
Set rst = [sub billing work items].OpenRecordset("sub billing work items", dbopendynaset)
rst [sub billing work items].Index = WorkItemID
rst [sub billing work items].Seek = Me!WorkItemID
rst [sub billing work items].Edit
rst [sub billing work items].paid = DSum("[amount]", "[sub billing items monthly]", "[workitemid]=" & Me![WorkItemID])
rst [sub billing work items].Update
Me.Parent![billing work items subform].Requery
all i want to do is open a table and update a field based on WorkItemID