Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with ADO/ODBC or Select Query
Message
Information générale
Forum:
Internet
Catégorie:
Active Server Page
Divers
Thread ID:
00449713
Message ID:
00450170
Vues:
45
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform