Database field value truncation

Dave Grandon

New Member
Hi, this is driving me nuts so thought I would ask you guys as you normally sort me out. I have a Gui diary application I am working on and the problem is that I have a character field of format x(30) and it has a value that is 36 characters long, which to my mind should be fine as the dictionary format is a default display format. However when I open the diary, load in my customer, then come out of it without changing any key the value is truncated to 30 characters and we need to have the full value.

Any help gratefully recieved.

Cheers
 

Dave Grandon

New Member
Part of the code looks to see if a value has changed and none of the values being checked are the one that gets truncated, think it was something in the adm/objects/debtor.p routine that was truncating.
 

Cringer

ProgressTalk.com Moderator
Staff member
You're saying the value is correct on the screen, but get trimmed on save to the DB? Definitely sounds like something you'll need to step through. Are you running a reasonably modern Progress release, Dave? Can you employ the new debugger to step through the code?
 
Top