Set DataConn = Server.CreateObject("ADODB.Connection")
'DataConn.Provider = "Microsoft.Jet.OLEDB.4.0"
DataConn.Open "samui_mdb"
Sql="SELECT * FROM POI WHERE ID="& id
Set DataRec = Server.CreateObject("ADODB.Recordset")
DataRec.Open Sql,DataConn,1,3
------------------------------------------------------------------------------------------
Error Type:
ADODB.Recordset (0x800A0BB9)
Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.
/samui2/viewpoi_edit.asp, line 17
Tag : - - - -
Date :
10 Sep 2547 16:48:23
By :
nake
View :
2937
Reply :
1
No. 1
Guest
Set DataConn = Server.CreateObject("ADODB.Connection")
DataConn.Open "samui_mdb"
Sql="SELECT * FROM POI WHERE ID="&id
Set DataRec =Server.CreateObject("ADODB.Recordset")
DataRec.open Sql,DataConn,1,3