From: wh <spa...@gm...> - 2013-11-18 09:36:06
|
Hello, I have a lot of code which does an INPUT inside an DISPLAY ARRAY. This works well with A4GL_UI=TUI, but with XML/VDC Client I got the follwing error message: contexts[context].ui.input.num_field_data=1 last_attr->sync.nvalues=2 too many values sent back consider the follwing example: f1.per <<< database formonly screen { [a |b ] [a |b ] [a |b ] [a |b ] [a |b ] [a |b ] [a |b ] [a |b ] [a |b ] [a |b ] } attributes a = a; b = b; instructions screen record s[10] (a,b); >>> t1.4gl <<< main define r record a char(30), b char(20) end record define a array[20] of record a char(30), b char(20) end record define lv_i integer define lv_scr, lv_arr integer for lv_i = 1 to 10 let a[lv_i].a = lv_i using "##&" let a[lv_i].b = lv_i using "&&&&&&&&" end for open window w with form "f1" call set_count(10) display array a to s.* on key(return) let lv_arr = arr_curr() let lv_scr = scr_line() let r = a[lv_arr] input r.b without defaults from s[lv_scr].b let a[lv_arr] = r end display close window w end main >>> see also attached file with debug.out and proxy.log |