Conversion from string to short

Posts   
 
    
Fishy avatar
Fishy
User
Posts: 392
Joined: 15-Apr-2004
# Posted on: 10-Sep-2009 20:21:25   

Hi all,

I have a column that is difined as char(2) it contains right-justified zero-filled numbers (ie. 00, 02, 03...). I want to access and update this column as though it was a short numeric data type.

Can I do that with llbl? How?

Thanks,

Fishy

MTrinder
User
Posts: 1461
Joined: 08-Oct-2008
# Posted on: 10-Sep-2009 21:24:24   

This is a job for a Type Converter !

Matt

Fishy avatar
Fishy
User
Posts: 392
Joined: 15-Apr-2004
# Posted on: 10-Sep-2009 21:57:02   

When i click on the dropdown for the "Coverter to use" no elements exist. I there something that i need to set up ahead of time?

Thanks,

Fishy

MTrinder
User
Posts: 1461
Joined: 08-Oct-2008
# Posted on: 10-Sep-2009 22:09:27   

You need to write it yourself. They're not tricky, and there are some samples available in the SDK in the customer downloads section of the main website.

There is also some more info in the following thread.

http://www.llblgen.com/tinyforum/Messages.aspx?ThreadID=7355&HighLight=1

Matt