Weak-scoped blocks and free references
- Last Updated: January 16, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Record Buffer Rule 3: A weak-scope block cannot contain any free references to the same buffer.
This rule makes sense for the same reasons as Record Buffer Rule 2. Consider this example:
|
While the AVM is processing the FOR EACH block,
it gets a request to use the same buffer to find a completely unrelated
record. This fails with a similar error, as shown in the following
figure.