Advertisement

10.24.2005 at 11:00AM PDT, ID: 21605757
[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!

7.2

Paging problem (dataset without a datagrid)

Asked by JollyBlueGiant in Macromedia Dreamweaver

Tags: , ,

I have an application which I am currently developing.  The application calls for a "submit and next" button.  I have the button created and it is submitting to the database that I want it to.  My problem is getting it to page to the next record.  When I try to create a dataset I get the following error.:

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30188: Declaration expected.

Source Error:

 

Line 114:'oConn.Open sConnectString
Line 115:'set oRs=server.CreateObject("ADODB.Recordset")
Line 116:oRs=ConnectString
Line 117:
Line 118:ScrollDirection=Request("ScrollDirection")
 
Now it gets worse!  I declare the oRs=ConnectString as New DataSet and I get this error:

Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30561: 'DataSet' is ambiguous, imported from the namespaces or types 'System.Data, DreamweaverCtrls'.

Source Error:

 

Line 95:
Line 96: Dim oConn
Line 97: Dim oRs as New DataSet
Line 98: Dim filePath
Line 99: Dim ScrollDirection
 
I have created one dataset with dreamweavers tool but I need to create this one dynamically in order to do the paging with the button correct?  I have tried many solutions and none of them seem to work.  What can I do to cure this problem?  I need to have this button functional.  

Thank you so much and if you need more information please let me know

I just wanted to add that I need to keep it out of a datagrid due to the structure of the web page and customer requirements.  Thanks again
Start Free Trial
[+][-]10.25.2005 at 07:37AM PDT, ID: 15154551

View this solution now by starting your 7-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: Macromedia Dreamweaver
Tags: paging, dataset, declaration
Sign Up Now!
Solution Provided By: alexhogan
Participating Experts: 1
Solution Grade: C
 
 
[+][-]10.25.2005 at 12:21PM PDT, ID: 15157241

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32