I have passed record pointers from my main module to a sub-module. After returning to the main module, it is required that the records are bound again. Can anyone please let me know the reason for this?
Hi,
The CURRENCY will be still at the database record(s) processed by routine, even after return to main module.
So if main program and routine process same database records, the currency will not be in sync before and after calling a routine. The program may or may not fail in this case, and results will be unpredictable.
So it is always advisable to rebind the records after return to main module, if same database records processed by a routine too.
if it is only currency related, then anyways we will be regaining currency by obtaining 'CALC' on the records again on the main module. How will rebind help?