Conditional Formatting Question

G

Guest

Can't seem to figure out why the conditional formatting of a txtBox
(txtTeeTime) whose control source is field (fldTeeTime) whose data type is
Date/Time doesn't work on a form when the same expression worked in a
previous form that (appears to me) to be exactly the same in terms of its
structure and behavour.

The code that did work on the other but doesn't on the current:
Expression is
[fldTeeTime]=#11:00:00 AM# Or [fldTeeTime]=#12:00:00 PM#

I did however get this to work on the current form but don't really know why?
Expression is
[fldTeeTime]="11:00:00 AM" Or [fldTeeTime]="12:00:00 PM"

Help in explaining this is much appreciated.
 

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

Similar Threads

Form changes not being saved to table 1
Add records from form 2
Conditional Formatting 1
Conditional Formatting - Times 1
Annual Calendar 1
advise on how to....??? 1
Conditional Field 8
INDEX MATCH SMALL 12

Top