jpadilla
30th August 2002, 01:53
I have a customized form, when I move to the next,previous view the records of the last view still in the screen, how can I make a refresh...

I'm using IVc4 and query.extension instruction.

Regards
JP

NPRao
30th August 2002, 02:49
Please refer to -

http://www.baanboard.com/programmers_manual_baanerp_help_functions_form_and_form_field_operations_refresh_curr_occ

OmeLuuk
30th August 2002, 12:00
In the text you will read:

"This reads the current record ..."

Meaning: When you have made modifications in the script on that record, you will loose these modifictations, because old data is retrieved again overwriting modifications done.

I think the question goes more into the direction of:
http://www.baanboard.com/programmers_manual_baanerp_help_functions_char_b_win_refresh and http://www.baanboard.com/programmers_manual_baanerp_help_functions_form_and_form_field_operations_display_many.

dbinderbr
30th August 2002, 19:42
Hello there,

Try to use the function wrebuild instead of refresh or display that sometimes just doesnt work in graphical mode.

Look how to use wrebuild below:

Syntax
void wrebuild( long mode )

Description
This redraws the entire screen. The mode argument can have one of the following values:
0 all windows are refreshed
1 the screen is cleared and all windows are rebuilt

:cool: