numero = 12345
interpreted = N
texte = Hey guys thanks for all the help and advice. This thing really had mestumped because all my non-[math], non-[date] methods of searching andrestricting by date range worked fine. But anytime I tried the math/datecombination it all went no where. Now, I hadn't really thought about it butsomewhere along the lines I realizd that the fact that this code wasembedded in my index.html as opposed to a .tmpl could be the problem. So Imoved everything over to a index.tmpl file and everything is singing (wellalmost - more about that in a second).Now, I had my suffix mapping set so that WC processes both .html and .tmplsuffixes. Shouldn't that give me identical functionality regardless ofwhether my code is in my index.html file versus index.tmpl? And yes thecode is completely identical. Is there something specific to the date/mathcombo that requires that that code reside in a .tmpl file??? If not I musthave a problem with my .html suffix mapping.Also I've happened upon an anomoly ('cause I would never cry BUG knowingthat Grant would just make me look foolish after showing me the errors ofmy ways...). 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 everthingappears to work fine - I get a small number of records with start dates inthe next month, a greater number in the next 2 months etc. until I hit the6 month/180 days option. For whatever reason it coughs and only gives meonly 2-3 records instead of all the records that had been found with theearlier options as it should... Any ideas??-marty
Associated Messages, from the most recent to the oldest:
Fun with Dates - finally resolved but.... (marty@artwerks.com (Marty Schmid) 1997)
Hey guys thanks for all the help and advice. This thing really had mestumped because all my non-[math], non-[date] methods of searching andrestricting by date range worked fine. But anytime I tried the math/datecombination it all went no where. Now, I hadn't really thought about it butsomewhere along the lines I realizd that the fact that this code wasembedded in my index.html as opposed to a .tmpl could be the problem. So Imoved everything over to a index.tmpl file and everything is singing (wellalmost - more about that in a second).Now, I had my suffix mapping set so that WC processes both .html and .tmplsuffixes. Shouldn't that give me identical functionality regardless ofwhether my code is in my index.html file versus index.tmpl? And yes thecode is completely identical. Is there something specific to the date/mathcombo that requires that that code reside in a .tmpl file??? If not I musthave a problem with my .html suffix mapping.Also I've happened upon an anomoly ('cause I would never cry BUG knowingthat Grant would just make me look foolish after showing me the errors ofmy ways...). 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 everthingappears to work fine - I get a small number of records with start dates inthe next month, a greater number in the next 2 months etc. until I hit the6 month/180 days option. For whatever reason it coughs and only gives meonly 2-3 records instead of all the records that had been found with theearlier options as it should... Any ideas??-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...