Format Character Fields in Dynamic Browse

Steve Barratt

New Member
Hello Peggers,

How do you format a character field in a dynamic browse (i.e. override the default of 8 Characters)?

I have a dynamic query that feeds a dynamic browse, it displays a date (date format) and a day-name (character).

The browser allways displays the first 8 characters of the day-name, no-matter what sort of formatting I use or where I use it.

I am using progress 9.1D 08 on XP Prof.

I have looked through the previous threads and been unable to track down a working solution.

Can anybody solve this problem?

You may ask for my code. It is quite simple. A table holds 12 months of dates and each entry holds the day of the week.

I have a dynamic query (for each available_date) and display the results in a dynamic browse with add-columns-from available_date.

The results are displayed, however the day of the week defaults to "x(8)"
( I loose the y in Wednesday).

The table is used to feed a second table which can also feed back dates to the first table.

Basically each date can only exist once and in only one of these tables.

Steve Barratt.
 
I have found the answer to the problem.

I failed to mention that I was using temp-tables.

It appears that you have to use the RCODE-INFORMATION in the temp-table definition. This option allows temp-tables to override the default values.

I later realised there was no need to use a dynamic browse. Wasted some time on that one.

At least I got the answer, for anybody else that is struggling with this problem.

Steve Barratt
 
Back
Top