I have looked through the posts and still don't understand the trick to formatting on a continuous form.
I have tried comparing date_field1 to date_field2 and then format date_field2 based on what the comparison gave me.
Do I try it on_Open, on_Load, etc?
Also, do I need to cycle through all the controls?
Every time I try this, once the condition is met, it applies it to all cases, regardless of whether they meet the condition or not?
Here's my scenario
I have 3 dates.
A due date, an estimated date and an actual date
The estimated date and actual date are to be compared to the due date.
There are 3 possibilities for each comparison.
1. The dates are equal (use black forecolor).
2. The est./act. date is less than the due date (use blue)
3. The est./act. date is greater than the due date (use red)
Any ideas on this?
David Pimental
(US, Oh)
I have tried comparing date_field1 to date_field2 and then format date_field2 based on what the comparison gave me.
Do I try it on_Open, on_Load, etc?
Also, do I need to cycle through all the controls?
Every time I try this, once the condition is met, it applies it to all cases, regardless of whether they meet the condition or not?
Here's my scenario
I have 3 dates.
A due date, an estimated date and an actual date
The estimated date and actual date are to be compared to the due date.
There are 3 possibilities for each comparison.
1. The dates are equal (use black forecolor).
2. The est./act. date is less than the due date (use blue)
3. The est./act. date is greater than the due date (use red)
Any ideas on this?
David Pimental
(US, Oh)