Hi Barbara - Thanks for responding.
My business object handles that column of the array as a decimal. Every time I need to do a computation or a save or a modification from the interface object, I call the appropriate method in my business object. That would mean I would have to convert it back to decimal for the business object, then back to character for the interface object.
I may be missing a simpler way to do this. Perhaps I should create another column in the array, and use the assign method - every time I changed the value of the decimal, I could assign the new column a character value containing the percent plus the percent symbol.
I think I might be better off going to a grid where I can control the formatting of that particular column.
>>I have a listbox with 3 columns of data. I'm using an array as the control source. The third column is a decimal, which I want to display as a percent (i.e. 0.11 would display as 11%). Is there any way to do this without changing the array column to be a character array?
>
>Not that I know of. What's the big deal about changing the column to character?
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement