D
drabbacs
I want to know how to specify display formatting in
several listboxes. Specifically I want red and parenthesis
if a value is negative, percentages instead of decimals,
and a limitation on the number of decimal places that are
displayed; 25.1% not .251345987.
The row sources for the list boxes are tables and queries
which are updated/refreshed/overwritten each time the user
visits this form. Conditional formatting is not accesible
via the format menu for listboxes.
How does one set these type of formatting requirements for
objects that essentially do not exist prior to opening the
form? I'm thinking there must be some VB code which would
allow me to set the formats. What would that code look
like? Would it be accessed from the macro which opens the
form and runs the queries necessary to populate the list
boxes?
Thanks for any help.
Drabbacs
several listboxes. Specifically I want red and parenthesis
if a value is negative, percentages instead of decimals,
and a limitation on the number of decimal places that are
displayed; 25.1% not .251345987.
The row sources for the list boxes are tables and queries
which are updated/refreshed/overwritten each time the user
visits this form. Conditional formatting is not accesible
via the format menu for listboxes.
How does one set these type of formatting requirements for
objects that essentially do not exist prior to opening the
form? I'm thinking there must be some VB code which would
allow me to set the formats. What would that code look
like? Would it be accessed from the macro which opens the
form and runs the queries necessary to populate the list
boxes?
Thanks for any help.
Drabbacs