Date Fields using numeric field binding

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
GARCIAO
New User
Posts: 2
Joined: Tue Oct 05, 2010 8:42 am
First Name: Ozzie
Last Name: Garcia
Company Name: CertainTeed
Zip / Postal Code: 19482
Country: United States
Contact:

Date Fields using numeric field binding

Post by GARCIAO »

I am using a date field that is bound to a 8,0 numeric field. I am using y-m-d field formating but when my page is initialized and my date is zero the field is filled with zero's as such ("00000000")

How do I suppress the zero's to blanks?
User avatar
Alex
Profound Logic Staff Member
Posts: 233
Joined: Fri Jan 04, 2008 12:10 pm
First Name: Alex
Last Name: Roytman
Company Name: Profound Logic Software
Contact:

Re: Date Fields using numeric field binding

Post by Alex »

We don’t have a simple solution at the moment. You would have to use a character field and format it with RPG.

However, for the next update of Profound UI, we are making the following improvements:

1. Numeric fields formatted as dates will automatically suppress zeros

2. It will be possible to specify Edit Words for formatting numeric fields, which will provide you with additional control over the output
GARCIAO
New User
Posts: 2
Joined: Tue Oct 05, 2010 8:42 am
First Name: Ozzie
Last Name: Garcia
Company Name: CertainTeed
Zip / Postal Code: 19482
Country: United States
Contact:

Re: Date Fields using numeric field binding

Post by GARCIAO »

Thanks Alex much appriciated.
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 0 guests