Hello,
I have an Itemstable in my database HF containing this columns: codeItem, libItem, prixceItem, and rankPrice (see attached). I need a query or source code in Windev that updates the rankItem column like this:
For a given item code, the row with the lowest price should have the rankItem column set to 1, the row with the second lowest price should have the rankItem column set to 2, and the row with the third lowest price should have the rankItem column set to 3.
See attached for an example of how this column will be filled.
Thank you in advance for your help.
Attachments:
open |
download -
2025-11-05_093112.jpg
(80 KB)