Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with ADO/ODBC or Select Query
Message
General information
Forum:
Internet
Category:
Active Server Page
Miscellaneous
Thread ID:
00449713
Message ID:
00450170
Views:
44
Philip
I'm fairly new to this area so I'm not sure if I am using a DTC recordset.
Below is the script that does the connection and retrieves the records.

DIM objConn, objItemDetailsRS, strQuery, strConnection

'Establish connection with data source
SET objConn = Server.CreateObject("adodb.connection")
strConnection = "DSN=ERSData"
objConn.Open strConnection

strQuery = "SELECT code FROM plu WHERE code = '" & lcItemCode & "'"
SET objItemDetailsRS = objConn.Execute(strQuery)



George
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform