MB Software Solutions wrote:
> Matthew Jarvis wrote:
> 
>>Since it sounds like Holidays is just a lookup table, why not load it 
>>into an array at app startup?
>>
>>Not much diff than a local cursor, but....
>>  
> 
> 
> True, and performance-wise I'm sure that'd be quick (if not the 
> quickest!), but alas you've exposed me...I really don't like dealing 
> with arrays as much.  ;-)
> 

Understood....

How about having an app property with the list of dates stored in a 
string, then your code can just be something like:

if dtoc( ldDate) $ myapp.cHolidayList
   * - hot code goes here
else
   * - sorry Charlie - your butt is working that day...
endif




Matthew S. Jarvis
IT Manager
Bike Friday - "Performance that Packs."
www.bikefriday.com
541/687-0487 x140
[EMAIL PROTECTED]


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to