Hello All,
Currently i have a transaction list form which displays all the transactions which have been saved.
If the client no longer requires the order, there is a remove button which would delete this: see code below
This works fine,it deletes all the items within the listbox and client details but i want it to update the stock levels for all the items within the listbox when remiove is prssed.
Would anyone know how this can be achieved?
[Code]
database.Execut e ("Delete * from tbltransaction Where Hireno = " & Chr(34) & Forms!frmtransa ctionlist!txthi reno) & Chr(34)
dbase.Execute ("Delete * from tbltransactionl ine Where hireno =" & Forms!frmtransa ctionlist!txthi reno)
[code]
I think the best way to do this for me is via a loop method, but im not too sure how to achieve this
Any help would be appreciated
Currently i have a transaction list form which displays all the transactions which have been saved.
If the client no longer requires the order, there is a remove button which would delete this: see code below
This works fine,it deletes all the items within the listbox and client details but i want it to update the stock levels for all the items within the listbox when remiove is prssed.
Would anyone know how this can be achieved?
[Code]
database.Execut e ("Delete * from tbltransaction Where Hireno = " & Chr(34) & Forms!frmtransa ctionlist!txthi reno) & Chr(34)
dbase.Execute ("Delete * from tbltransactionl ine Where hireno =" & Forms!frmtransa ctionlist!txthi reno)
[code]
I think the best way to do this for me is via a loop method, but im not too sure how to achieve this
Any help would be appreciated
Comment