VishalMistry
21st May 2007, 14:43
Hi all,
Facing a small problem in a new developed session. When moving from one record to other, values of old records are being displayed. Is there any command which i can use to refresh the screen. I am attaching screen dump for ref. Pl help.
Vishal
george7a
21st May 2007, 15:18
Hi,
Will will have to use the display() functions (http://www.baanboard.com/programmers_manual_baanerp_help_functions_form_and_form_field_operations_display_many) after you have assigned a value to the variable.
If you want to refresh the form, you will have to execute the refesh choice. There are some examples in the following threads:
http://www.baanboard.com/baanboard/showthread.php?t=27902&highlight=refresh
http://www.baanboard.com/baanboard/showthread.php?t=15188&highlight=refresh
- George
VishalMistry
22nd May 2007, 11:51
Sir,
I have tried everything (display(),display.all() etc), still, the problem persists.
bdittmar
22nd May 2007, 13:11
Sir,
I have tried everything (display(),display.all() etc), still, the problem persists.
Hello,
try :
BaanERP Programmers Guide
--------------------------------------------------------------------------------
Syntax
void refresh.curr.occ()
Description
This reads the current record and refreshes it on screen. All references on the form are read again. For example, in the case of a zoom from a field to a session where the record can be modified, calling refresh.curr.occ() refreshes the occurrence on the parent form also.
Note that the function locks the record before reading it; this is necessary for delayed locks.
Context
4GL library function.
You can use this function only in 4GL scripts. You cannot use it in programs of type 4.
Regards
en@frrom
22nd May 2007, 14:36
If it is still not working fine, then please post your script here so we can have a look at it and advice you...