wrote:>>> [showif 6=[lookup>>> db=days.db&lookinfield=number&value=[math]({[the_month]/[index]/[the_y>>> ear]})%7[/math]&returnfield=skip¬found=Day]][/showif]>>> [/loop]>>> >>> So inserting a space does not make the extra cell's show up. The>>> just don't show up because know code is written for them.>> Without writing the code here is a logic that I think will work for you.(show if the index is greater than the number of days in the month (whichyou used a lookup to do earlier)) If it is greater than the total days (and it will be the 1st cell afterthe end) then check to see if:[showif 6=[lookup db=days.db&lookinfield=number&value=[math]({[the_month]/[index]/[the_year]})%7[/math]&returnfield=skip¬found=Day]]
[/showif][/loop]If not insert a cell with spaces... And perform this check again. ==========What will happen?The code will check to see if the cell is > the total number of days inmonth. Yes it is greater: Check index to see if %6 If that is then
If not create with space No not greater: | as usual.This logic should work beautifully.Let me know if you need hacking any of the showif codes.AlexAlex J McCombie New World MediaChief Information Officer Drawer 607800/724.8973 Fair Haven, NY 13064Alex@NewWorldMedia.com http://OurClients.comInterface Designer WebDNA Programmer Database Designer-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
| |
- Re: Solve the Problem, get the code! (Jeff Logan 2001)
- Re: Solve the Problem, get the code! (Marc Kaiwi 2001)
- Re: Solve the Problem, get the code! (Marc Kaiwi 2001)
- Re: Solve the Problem, get the code! (Alex McCombie 2001)
- Re: Solve the Problem, get the code! (Jeff Logan 2001)
- Re: Solve the Problem, get the code! (Alex McCombie 2001)
- Re: Solve the Problem, get the code! (Stuart Tremain 2001)
- Re: Solve the Problem, get the code! (Jeff Logan 2001)
- Re: Solve the Problem, get the code! (Daniel Smith 2001)
- Re: Solve the Problem, get the code! (Jeff Logan 2001)
- Re: Solve the Problem, get the code! (Dale Therio 2001)
- Re: Solve the Problem, get the code! (Marc Kaiwi 2001)
- Re: Solve the Problem, get the code! (Jeff Logan 2001)
- Re: Solve the Problem, get the code! (Anne Varner 2001)
- Re: Solve the Problem, get the code! (Brian Fries 2001)
- Re: Solve the Problem, get the code! (Celeste Paul 2001)
- Re: Solve the Problem, get the code! (Tom Duke 2001)
- Re: Solve the Problem, get the code! (Jeff Logan 2001)
- Re: Solve the Problem, get the code! (Jeff Logan 2001)
- Re: Solve the Problem, get the code! (Marc Kaiwi 2001)
- Re: Solve the Problem, get the code! (adam@inos.com (O'Connor, Adam) 2001)
- Re: Solve the Problem, get the code! (adam@inos.com (O'Connor, Adam) 2001)
- Re: Solve the Problem, get the code! (Marc Kaiwi 2001)
- Solve the Problem, get the code! (Jeff Logan 2001)
|
On 8/7/01 1:07 PM, Jeff Logan wrote:>>> [showif 6=[lookup>>> db=days.db&lookinfield=number&value=[math]({[the_month]/[index]/[the_y>>> ear]})%7[/math]&returnfield=skip¬found=Day]][/showif]>>> [/loop]>>> >>> So inserting a space does not make the extra cell's show up. The>>> just don't show up because know code is written for them.>> Without writing the code here is a logic that I think will work for you.(show if the index is greater than the number of days in the month (whichyou used a lookup to do earlier)) If it is greater than the total days (and it will be the 1st cell afterthe end) then check to see if:[showif 6=[lookup db=days.db&lookinfield=number&value=[math]({[the_month]/[index]/[the_year]})%7[/math]&returnfield=skip¬found=Day]] [/showif][/loop]If not insert a cell with spaces... And perform this check again. ==========What will happen?The code will check to see if the cell is > the total number of days inmonth. Yes it is greater: Check index to see if %6 If that is then If not create with space No not greater: | as usual.This logic should work beautifully.Let me know if you need hacking any of the showif codes.AlexAlex J McCombie New World MediaChief Information Officer Drawer 607800/724.8973 Fair Haven, NY 13064Alex@NewWorldMedia.com http://OurClients.comInterface Designer WebDNA Programmer Database Designer-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Alex McCombie
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
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...
Related Readings:
HELP WITH DATES (1997)
WebCat2b13MacPlugIn - [shownext method=post] ??? (1997)
[WebDNA] New request for websites that currently run WebDNA (2009)
Upgrade Price Problems (2000)
[WebDNA] [raw] tag with [interpret] question (2010)
[WebDNA] eCommerce in 7.0 but not in 7.1? (2012)
Price characteristics? (1997)
Multiple catalog databases and showcart (1997)
RE: Can't get appendfile to work (1997)
ShowNext Command (1997)
[WebDNA] Server setup question (2013)
PHP Live (2005)
A Global Variable (1997)
[WebDNA] WebDNA Start-up Error (2012)
Showing unopened cart (1997)
[WebDNA] WebDNA and Google Geo Tagging (2012)
We are searching (2005)
Stopping NT WebCat service (1998)
Re:quit command on NT (1997)
Webcatalog quitting (1997)
| |