S
Stephen Lebans
Instead of If-Then-Else use the Select statement. It's cleaner and easier to
implement for this situation.
Your logic is correct for persisting the users color selection.. Add a
CommandButton or similiar to your form that allows the user to Select the
desired CF color. Save the color to a table. In the main Form's Load event,
set the FomatConditions object props for this control to the previously
saved color value.
It's better to set the FormatConditions object at runtime as there is a Bug
where CF does not respect the Enabled property when set via the CF GUI.
There is code in the CF sample on my Web site showing you how to do this.
Just post back if you are having any issues implementing your logic.
--
HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
implement for this situation.
Your logic is correct for persisting the users color selection.. Add a
CommandButton or similiar to your form that allows the user to Select the
desired CF color. Save the color to a table. In the main Form's Load event,
set the FomatConditions object props for this control to the previously
saved color value.
It's better to set the FormatConditions object at runtime as there is a Bug
where CF does not respect the Enabled property when set via the CF GUI.
There is code in the CF sample on my Web site showing you how to do this.
Just post back if you are having any issues implementing your logic.
--
HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.