Error Attempt To Exceed Maximum Size Of A Character Variable. (9324)

skevin.john

New Member
Hi,
I am getting this error while using string function on longchar variable.

def var lcx as longchar no-undo.

put unformatted "debug : " string(lcx).


Can any one suggest what needs to be done for this?

Attempt to exceed maximum size of a CHARACTER variable. (9324)
 

Osborne

Active Member
The only way I can think of is use COPY-LOB:
Code:
lcx = "debug : " + lcx.
COPY-LOB FROM lcx TO FILE "Report.txt".
 
Top