I have a combobox which contains numeric values ordered descending.
After the combo gets updated some stuff gets loaded on the form.
I want to have two buttons "previous" and "next" that give me the listitem 1 lower and 1 higher than the current one.
I used dlookup to get the higher value, but that doesn't work for the lower number so I'm stuck.
there must be a better way....
After the combo gets updated some stuff gets loaded on the form.
I want to have two buttons "previous" and "next" that give me the listitem 1 lower and 1 higher than the current one.
I used dlookup to get the higher value, but that doesn't work for the lower number so I'm stuck.
there must be a better way....