zoned decimal field

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
chris_rover
Profound User
Posts: 88
Joined: Tue Jun 01, 2010 11:31 am
First Name: christopher
Last Name: williams
Company Name: banks dih limited
Phone: 592-226-9584
Address 1: thirst park
Address 2: ruimveldt
City: gerogetown
State / Province: Outside Canada/USA
Zip / Postal Code: 0000
Country: Guyana
Contact:

zoned decimal field

Post by chris_rover »

Hi guys,
when I look at the example videos, I see a numeric type of "zoned decimal", but in my version(2.2.4) there is no such type. I am trying to move data from a file with the field type of zoned, but the screen field is packed(decimal). is there something i am missing?
do I need to do the conversion myself, or does the zoned type still exists?
User avatar
David
Profound Logic Staff Member
Posts: 690
Joined: Fri Jan 04, 2008 12:11 pm
First Name: David
Last Name: Russo
Company Name: Profound Logic Software
Contact:

Re: zoned decimal field

Post by David »

The "decimal" type selection in the Profound UI designer creates a zoned decimal field in the display file.

You actually cannot create a packed decimal field in a display file unless you reference a database field which is packed decimal.

So, your example should work fine.

In any case, RPG automatically converts data between zoned and packed decmial formats as needed. So, it actually does not really matter what the underlying types are anyway.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests