View previous topic :: View next topic
|
Author |
Message |
Vedam
New User
Joined: 24 Apr 2007 Posts: 23 Location: India
|
|
|
|
Hi,
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? |
|
Back to top |
|
|
pjeevankumar
New User
Joined: 21 Jan 2006 Posts: 1
|
|
|
|
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.
Hope the answer is clear. |
|
Back to top |
|
|
Vedam
New User
Joined: 24 Apr 2007 Posts: 23 Location: India
|
|
|
|
hi,
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? |
|
Back to top |
|
|
|