For example
I have 20 records in a table with two fields...Code and Invoice
5 rec with code '037'
6 rec with code '223'
9 rec with code '280'
I want invoice to be updated with '0201' for all code '037', '0202' for all code '223' and '0203' for all code '280' with a looping
I made a looping but results at the end are..all invoices updated with '0203'
This is only example but tables can have a lot of records..
Please help
I have 20 records in a table with two fields...Code and Invoice
5 rec with code '037'
6 rec with code '223'
9 rec with code '280'
I want invoice to be updated with '0201' for all code '037', '0202' for all code '223' and '0203' for all code '280' with a looping
I made a looping but results at the end are..all invoices updated with '0203'
This is only example but tables can have a lot of records..
Please help