[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.6

Me too - Mutlidimensional Array Help

Asked by bvinson in Active Server Pages (ASP)

Tags: mutlidimensional

My question is similar to GrantBailey's, except I captured the information and entered it into the database, now I'm calling it out and can't seem to get it to work.

I feed the results of the first query into the aServices array, which has three dimensions DriverID, ServiceID, and ServiceName.

Of that information, I want to put the ServiceID into the single array of aTempService.  That is where I'm encountering the problem and that line is noted below.

I then want to compare the result of the current recordset to the values in the aTempService array, but I think I have that formatted correctly.

As always, any help is appreciated.


<%
strSQL = "SELECT tblDriverService.DriverID, tblDriverService.ServiceID, tblServices.ServiceName "&_
            "FROM tblServices INNER JOIN tblDriverService ON tblServices.ServiceID = tblDriverService.ServiceID "&_
            "WHERE (((tblDriverService.DriverID)=20)) ORDER BY ServiceName;"
            objRS2.Open strSQL, objConn, , , adCmdTable
                  aServices = objRS2.GetRows
            objRS2.Close

strSQL = "SELECT tblServices.ServiceID, tblServices.ServiceName " &_
                  "FROM tblServices Order By ServiceName;"
            objRS2.Open strSQL, objConn, , , adCmdTable
'response.write strSQL

Dim aTempService()
aTempService= Split (aServices, ",") '<--problem line

If NOT objRS2.EOF THEN
      Do WHILE NOT objRS2.EOF
%>
                  <INPUT TYPE='checkbox' name='chkService' value='<%=objRS2("ServiceID")%>' <%IF INSTR(aTempService, objRS2("ServiceID"),) <> 0 THEN response.write " CHECKED"%> ></INPUT> <%=objRS2("ServiceName")%> <br>
<%            objRS2.MoveNext            
      Loop
End IF
objRS2.Close
%>

bvinson
[+][-]02/09/06 12:05 PM, ID: 15916047Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02/09/06 12:09 PM, ID: 15916094Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02/09/06 12:14 PM, ID: 15916125Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zone: Active Server Pages (ASP)
Tags: mutlidimensional
Sign Up Now!
Solution Provided By: fritz_the_blank
Participating Experts: 1
Solution Grade: A
 
[+][-]02/09/06 01:34 PM, ID: 15916960Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02/09/06 01:39 PM, ID: 15916999Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02/09/06 01:46 PM, ID: 15917068Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02/10/06 06:36 AM, ID: 15922834Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02/10/06 07:06 AM, ID: 15923105Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091021-EE-VQP-81