Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Next 20 Tuesdays...

 
Logged in as: Guest
arrSession:exec spGetSession 2,3,2916
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> ASP >> Next 20 Tuesdays...
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Next 20 Tuesdays... - 5/7/2005 7:24:20 AM   
  izak

 

Posts: 1
Score: 0
Joined: 5/7/2005
From:
Status: offline
This is my very first post I hope is on the right forum...

I am working on a website that reads a DB thru a Flash Interface. I need to list the next 20 date acording to a selected schedule (ie. next 20 Thrusdays).

I was able to do it for a "once a week" type of activity with this code:


      

It reads the weekday from an URL like this http://localhost/weekdays.asp?WD=2 <--- where the 2 will be a Monday.

Now I'm trying to make it work for 1, 2 or x times per week but I can't.

I just hit the wall when triyng to read an URL like http://localhost/weekdays.asp?tpw=3&wDay1=2&wDay2=4&wDay3=7 doing something like this:


      

but I know there's something wrong with line 13 because both sides of the statement are expresions. In flash ActionScript I'll need to use probably Eval or something like
       but this is not ActionScript [xx(]

Man, I think I making this more confusing that it already is [:I]
 
 
Post #: 1
 
 Re: Next 20 Tuesdays... - 5/9/2005 12:45:27 AM   
  willem

 

Posts: 12
Score: 0
Joined: 4/25/2005
From: France
Status: offline
I can't check this at the moment, but you can try:

wDays(howMany) = request.QueryString("wDay" & cstr(howMany))

(in reply to izak)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> ASP >> Next 20 Tuesdays... Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts