numero = 12349
interpreted = N
texte = >>Also I've happened upon an anomoly ('cause I would never cry BUG knowing>>that Grant would just make me look foolish after showing me the errors of>>my ways...).>>Hehe ... :) Are you referring to anyone I know?>>>Anyway here's my code which works for the most part:>>>> days. >>>>>>And here's the problem: As I test the various pull-down options everthing>>appears to work fine - I get a small number of records with start dates in>>the next month, a greater number in the next 2 months etc. until I hit the>>6 month/180 days option. For whatever reason it coughs and only gives me>>only 2-3 records instead of all the records that had been found with the>>earlier options as it should... Any ideas??>>Thanks for your excellent description of the 'anomaly', Marty.>>It just so happens that the 6 month/180 day option is dealing with a new>year - 1998 - whereas all the others options are dealing with dates in 1997>... so maybe there's something going on when the year changes. I think>what's happening is that the 180 day option is looking at records less>than January 8, 1997 instead of less than January 8, 1998.>>Grant, what do you think about this possibility? (Don't worry, I'm not>gonna call this one a bug, I learned my lesson the last time ... :)>-ok more testing-I think Ken's on to something with it being new year related... I addedanother option, one for 7 months/210 days that behaves similarily as the 6month/120 days option but it actually picks up one more record than the 6month option. When I search using the 6 month option I get 3 records - allwith a start date of 01/01/1997. The 7 month option adds in a record with astart date of 02/04/1997. These searches should really be finding recordsthrough till these dates in 1998. So it appears that when the math does itsaddition it is not causing the year to roll over to the next year. I'mgetting more tempted but I'm still calling this a bug - until Ken does...BTW I'm running WC 2.0 w/ webstar 2.0 on a PMac 9500.-marty
Associated Messages, from the most recent to the oldest:
>>Also I've happened upon an anomoly ('cause I would never cry BUG knowing>>that Grant would just make me look foolish after showing me the errors of>>my ways...).>>Hehe ... :) Are you referring to anyone I know?>>>Anyway here's my code which works for the most part:>>>> days. >>>>>>And here's the problem: As I test the various pull-down options everthing>>appears to work fine - I get a small number of records with start dates in>>the next month, a greater number in the next 2 months etc. until I hit the>>6 month/180 days option. For whatever reason it coughs and only gives me>>only 2-3 records instead of all the records that had been found with the>>earlier options as it should... Any ideas??>>Thanks for your excellent description of the 'anomaly', Marty.>>It just so happens that the 6 month/180 day option is dealing with a new>year - 1998 - whereas all the others options are dealing with dates in 1997>... so maybe there's something going on when the year changes. I think>what's happening is that the 180 day option is looking at records less>than January 8, 1997 instead of less than January 8, 1998.>>Grant, what do you think about this possibility? (Don't worry, I'm not>gonna call this one a bug, I learned my lesson the last time ... :)>-ok more testing-I think Ken's on to something with it being new year related... I addedanother option, one for 7 months/210 days that behaves similarily as the 6month/120 days option but it actually picks up one more record than the 6month option. When I search using the 6 month option I get 3 records - allwith a start date of 01/01/1997. The 7 month option adds in a record with astart date of 02/04/1997. These searches should really be finding recordsthrough till these dates in 1998. So it appears that when the math does itsaddition it is not causing the year to roll over to the next year. I'mgetting more tempted but I'm still calling this a bug - until Ken does...BTW I'm running WC 2.0 w/ webstar 2.0 on a PMac 9500.-marty
marty@artwerks.com (Marty Schmid)
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...