Click here to Skip to main content
15,893,337 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: z-index and overflow Pin
Shog924-Aug-08 18:07
sitebuilderShog924-Aug-08 18:07 
Questionrobots.txt Pin
Brendan Vogt24-Aug-08 7:52
Brendan Vogt24-Aug-08 7:52 
AnswerRe: robots.txt Pin
Shog924-Aug-08 8:02
sitebuilderShog924-Aug-08 8:02 
AnswerRe: robots.txt Pin
Paul Conrad24-Aug-08 8:23
professionalPaul Conrad24-Aug-08 8:23 
QuestionRedirect to another page question Pin
ThaScorpion23-Aug-08 8:50
ThaScorpion23-Aug-08 8:50 
Questionweb application deployment problem Pin
Zafar Sultan23-Aug-08 3:50
Zafar Sultan23-Aug-08 3:50 
AnswerRe: web application deployment problem Pin
Perspx23-Aug-08 3:52
Perspx23-Aug-08 3:52 
QuestionMicrosoft VBScript compilation error '800a0400' End Function error Pin
BustAGutt22-Aug-08 11:18
BustAGutt22-Aug-08 11:18 
I'm getting the following error. I have been commenting lines out and it seems to get through to the end without errors but I can't find my mistake. The code is in a tool.asp page with a lot of other similar functions and subs. Any help is much appreciated

Microsoft VBScript compilation error '800a0400'

Expected statement

/pages/tools.asp, line 636

End Function

'------------------------------------------------------------------------------
Function fnProcessSomePicks(byRef passedCon)
'------------------------------------------------------------------------------
                                                           response.write("In fnProcessSomePicks<br>")

   Dim objRSPicks
   Dim SQLPicks
   Dim intPickID
   Dim flgProcess
   Dim flgProDay
   Dim sTeamID
   
   Set objRSPicks = Server.CreateObject("ADODB.Recordset")
                
   SQLPicks = "SELECT " & _
                 "Picks.PickID, " & _
                 "Picks.PlayerID, " & _
                 "Picks.Week, " & _
                 "Picks.TeamID, " & _
                 "Picks.plyrGuess, " & _
                 "Picks.LockPick " & _
              "FROM " & _
                 "Picks " & _
                 "WHERE " & _
                 "((Picks.Week)= " & _
                 CInt(Application("intPoolWeek")) & " );"
				 
   Set objRSPicks = passedCon.Execute( SQLPicks )
   
   If NOT objRSPicks.BOF OR NOT objRSPicks.EOF Then
     objRSPicks.MoveFirst
   End If
       
   Do While Not objRSPicks.EOF 

     intPickID = 0
'
'    flgProcess:
'    0 = already locked - do nothing
'    1 = not locked both team and score exsit
'    2 = not locked team only
'    0 = not locked score only     
     flgProcess = 0
	 flagProDay = 0
	 
	If NOT objRSPicks.BOF OR NOT objRSPicks.EOF Then
      Do While Not objRSPicks.EOF
	    intPickID = objRSPicks("PickID")
        If objRSPicks("LockPick") = True Then
          flgProcess = 0
        ElseIf Len(objRSPicks("TeamID")) > 0 Then
          If (objRSPicks("plyrGuess")) > 0 Then
            flgProcess = 1
          Else
            flgProcess = 2
          End If
        End If
               
        If flgProcess <> 0 Then
          sTeamID = objRSPicks("TeamID")
          flgProDay = fnGameDay(passedCon, sTeamID)
          If flgProDay = 1 Then
            If flgProcess = 1 Then
'  Perform Lock action
            Else
'  Set and perform Lock action
            End If
          End If
        End If
             
        objRSPicks.MoveNext
        flgProcess = 0
      Loop
    End if
	  
   CALL subADOClose(objRSPicks)
      
End Function


Thanks Again Mike
AnswerRe: Microsoft VBScript compilation error '800a0400' End Function error Pin
Shog922-Aug-08 11:22
sitebuilderShog922-Aug-08 11:22 
JokeRe: Microsoft VBScript compilation error '800a0400' End Function error Pin
Perspx22-Aug-08 11:41
Perspx22-Aug-08 11:41 
GeneralRe: Microsoft VBScript compilation error '800a0400' End Function error Pin
Shog922-Aug-08 11:49
sitebuilderShog922-Aug-08 11:49 
GeneralRe: Microsoft VBScript compilation error '800a0400' End Function error Pin
Perspx22-Aug-08 11:52
Perspx22-Aug-08 11:52 
AnswerRe: Microsoft VBScript compilation error '800a0400' End Function error Pin
ChandraRam25-Aug-08 3:20
ChandraRam25-Aug-08 3:20 
QuestionHELP Undo Precompile Pin
Civic0622-Aug-08 6:27
Civic0622-Aug-08 6:27 
AnswerRe: HELP Undo Precompile Pin
Shog922-Aug-08 7:08
sitebuilderShog922-Aug-08 7:08 
AnswerRe: HELP Undo Precompile Pin
Paddy Boyd25-Aug-08 1:45
Paddy Boyd25-Aug-08 1:45 
QuestionAlignment Problem in Crystal Report Pin
Hemant Thaker22-Aug-08 3:08
Hemant Thaker22-Aug-08 3:08 
AnswerRe: Alignment Problem in Crystal Report Pin
Shog922-Aug-08 8:48
sitebuilderShog922-Aug-08 8:48 
AnswerRe: Alignment Problem in Crystal Report Pin
Kanniah23-Aug-08 20:11
Kanniah23-Aug-08 20:11 
QuestionDatabase Oriented Form Authentication Pin
Hemant Thaker21-Aug-08 22:04
Hemant Thaker21-Aug-08 22:04 
AnswerRe: Database Oriented Form Authentication Pin
Abhijit Jana22-Aug-08 1:36
professionalAbhijit Jana22-Aug-08 1:36 
Questioncss not working Pin
Sanjay Kunjam21-Aug-08 18:48
Sanjay Kunjam21-Aug-08 18:48 
AnswerRe: css not working Pin
Shog921-Aug-08 19:29
sitebuilderShog921-Aug-08 19:29 
GeneralRe: css not working Pin
NeverHeardOfMe21-Aug-08 22:13
NeverHeardOfMe21-Aug-08 22:13 
GeneralRe: css not working Pin
Shog922-Aug-08 3:59
sitebuilderShog922-Aug-08 3:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.