Hi folks... I really didn't know how to title this thread so I hope it makes sense
Here is what I am trying to do:
Create an editable list of items, price and stock using the 'while' loop - this I can easily do like this...
If I have the update outside the loop then there are only 3 fields that contain a value after the loop is completed ie: mbp_item = the last record name of the table, mbp_price=the last record price and mbp=the last record stock. If I have the update inside the loop the table will update each record but the user may decide to cancel - so then the data in the table is wrong.
As an extra feature, I would also be inetersted to know the best way to check that an entered value is valid before the user moves the cursor to a new field?
Does anyone have a clue what the best way to do this please?