Newbie - be gentle ...
This works fine:
left({QuoteDet.Descrip},instr({QuoteDet.Descrip},chr(13)))
This does NOT:
local numbervar x;
local numbervar y;
x := instr({QuoteDet.Descrip},chrw(13));
y := length({QuoteDet.Descrip});
right({QuoteDet.Descrip},y - x )
IT works fine in VB, why not Crystal? All I am after is segregating a paragraph into two fields on a report, one being up to the first character return, the second being from the first character return to the end.
Thanks, folks.
This works fine:
left({QuoteDet.Descrip},instr({QuoteDet.Descrip},chr(13)))
This does NOT:
local numbervar x;
local numbervar y;
x := instr({QuoteDet.Descrip},chrw(13));
y := length({QuoteDet.Descrip});
right({QuoteDet.Descrip},y - x )
IT works fine in VB, why not Crystal? All I am after is segregating a paragraph into two fields on a report, one being up to the first character return, the second being from the first character return to the end.
Thanks, folks.