How to get a CListCtrl similar list on a access form without using OCX

O

Oliver Keim

I would like to use icons and columns within lists on a form. Is there a way
to get this achieved?

The problem: when I use OnFormat in a Report I can set (per line in a
tabular report) an image control with the current object's icon and this
will be displayed correctly on the report. This does not work in OnFormat on
tabular forms, why? This is a bug, isn't it? Will it ever get repaired? This
thing exists forever and is not yet repaired in Office2003 beta2.

Thank you, best regards, Oliver.
 
T

TC

Oliver Keim said:
I would like to use icons and columns within lists on a form. Is there a way
to get this achieved?

The problem: when I use OnFormat in a Report I can set (per line in a
tabular report) an image control with the current object's icon and this
will be displayed correctly on the report. This does not work in OnFormat on
tabular forms, why? This is a bug, isn't it? Will it ever get repaired? This
thing exists forever and is not yet repaired in Office2003 beta2.


(1) There is no OnFormat event for forms.

(2) Changing one control in a tabular (multi-record) form, will usually
change that control in every record of the form. It is a per-control change,
not a per-record one. This is not a "bug", it is a silly design restriction
of Access multi-record forms. (Various other DBMS products eg. Oracle do not
have this restriction). My outsider's guess is, there is little chance of
this being changed.

HTH,
TC
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top