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("A
DODB.Recor
dset")
Line 116:oRs=ConnectString
Line 117:
Line 118:ScrollDirection=Reques
t("ScrollD
irection")
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