Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

porting ASP/Access to ASP/mySQL

Status
Not open for further replies.

MillsRJ

Technical User
Sep 14, 2002
28
CA
ok, managed to get mySQL up and running, but keep getting errors from my config.asp.

1) why doesn't the "SELECT TOP * 1 FROM ..." work anymore?
2) also, had an array that was working fine but now I get a subscript out of range error.

ReDim MenuEntry(objRsConfig.RecordCount,2)
iRun = 1
Do While Not objRsConfig.EOF
MenuEntry(iRun,1) = objRsConfig("CategoryName")

it coughs on the last line above.

3) Lastly, (I thought this stuff was platform/db independant). I get a "current recordset does not support bookmarks" (it did with access)

objRs.AbsolutePage = 1

if I sound frustrated, it's only because I am

thanks in advance. Rob Mills
System Analyst
Correctional Services Canada
(all statements are my own and do not reflect on my employer)
 
moving me up, please help Rob Mills
System Analyst
Correctional Services Canada
(all statements are my own and do not reflect on my employer)
 
Ok,
1), 2), and 3) make sure MySQL supports this functionality. Check with the documentation that came with your version to make sure that it supports the functionality you were using in Access. Soe version support it 100%, despite access not being up to spec for a SQL db, but some MySQL versions only support functionality for access where access was actually following the guideline for SQL and Relational Databases.
-Tarwn "Customer Support is an art not a service" - marketing saying
"So are most other forms of torture" - programmers response
(The Wiz Biz - Rick Cook)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top