Look "ahead" in a record set
-
- BronzeLounger
- Posts: 1400
- Joined: 08 Jul 2016, 18:53
Re: Look "ahead" in a record set
It is pertinent because the last operation has to be calculated, otherwise I could do it manually, but that defeats the purpose of the code.
-
- BronzeLounger
- Posts: 1400
- Joined: 08 Jul 2016, 18:53
Re: Look "ahead" in a record set
The solution is logic/code error. The line in question s/b
The recData(3, I) check for a rec that is outside the four possible solutions and s/b recData(, I - 1).
Thanks for everyone's input.
Code: Select all
ElseIf recData(8, I - 2) = "Exit" And recData(8, I - 3) = "Entry" And (recData(3, I - 3) + recData(3, I - 2) + recData(3, I - 1)) = 0 Then
The recData(3, I) check for a rec that is outside the four possible solutions and s/b recData(, I - 1).
Thanks for everyone's input.
Last edited by HansV on 26 Feb 2024, 19:15, edited 1 time in total.
Reason: to correct code tags
Reason: to correct code tags