ppkgoldengun
MIS
Hi,
I have a table say tblBoxSlot
With the fields:box, tower, and slot1, slot2, ......slot81
Empty slots have a value of -1111 Filled slots have a value of
an integer greater than zero.
How can I find say the first 6 consecutive slots in a box record that are empty (-1111)?
I am having trouble. I have seen code examples and sql that can find consecutive slots of vertical record values but not finding a record and then the first slot that meets the criteria.
Any ideas?
Thanks.
I have a table say tblBoxSlot
With the fields:box, tower, and slot1, slot2, ......slot81
Empty slots have a value of -1111 Filled slots have a value of
an integer greater than zero.
How can I find say the first 6 consecutive slots in a box record that are empty (-1111)?
I am having trouble. I have seen code examples and sql that can find consecutive slots of vertical record values but not finding a record and then the first slot that meets the criteria.
Any ideas?
Thanks.