I open a recRef and insert a record with fldRef. When I write with
fldRef.VALUE('TEST');
When I write a value in a code field it gets scrambled.
The value becomes 'EST'. The first character disappears.
I tried to put a dummy in front. But when I refer to this field with a filter or a flowfield an error appears. : :x
"A value in the xxx field in the yyy table is too long for the field type. Type: code20"
It looks like there is more inserted in the field then you can see.
0
Comments
define: strTest as Text30
strTest := 'TEST'
fldRef.VALUE( strTest )
try it, it will work ... i had the same problem