contents   index   previous   next



QueryStringCountMethods:QueryStringCount

 

Return Type: Integer

 

Returns the number of occurrences of a parameter within a Query String.

 

For Example:

 

If the URL is http://www.mydomain.com/prod.html?N=Eng&Cyl=4&N=Gas

 

and the application source code is:

 

Private Sub WebX1_FileRequestEvents:FileRequest(Index As Integer, FileName As String)

 

iCount = WebX1.QueryStringCountMethods:QueryStringCount

 

For x = 1 to iCount

 

Debug.Print WebX1.QueryStringMethods:QueryString(Index, "N")

 

Next x

 

End Sub

 

 

The output in the Immediate Window would be:

 

 

 

 


Methods:ServerRunning