Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DateVar Array problem

Status
Not open for further replies.

dgillz

Instructor
Mar 2, 2001
10,043
US
Using CR V7, I am trying to write a formula to make holidays display as red text. The following formula is accepted with no errors but it is not diplaying red.

DateVar Array Holidays:=Date(2001,1,1);Date(2001,1,19);Date(2001,5,31);Date(2001,7,4);Date(2001,11,23);Date(2001,11,24);Date(2001,12,24);Date(2001,12,25);date(2001,12,31);

If {datefield} in Holidays then Red else DefaultAttribute

Any ideas? Software Support for Sage Mas90, Macola, Crystal Reports, Goldmine and MS Office
 
this doesn't look right to me at all

"DateVar Array Holidays:=Date(2001,1,1);Date(2001,1,19);Date(2001,5,31);Date(2001,7,4);Date(2001,11,23);Date(2001,11,24);Date(2001,12,24);Date(2001,12,25);date(2001,12,31);"

think it should be

DateVar Array Holidays := [Date(2001,1,1),Date(2001,1,19),Date(2001,5,31),Date(2001,7,4),Date(2001,11,23),Date(2001,11,24),Date(2001,12,24),Date(2001,12,25),date(2001,12,31)];

hope this is all that the problem is....Jim

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top