The following code works.
The database I am using is Pervasive.SQL 8.5. The following output is from the Pervasive.SQL Data Manager. Is there a way to get the code above to produce a similer output? I am mostly looking for "X row(s) were affected."
------
Code:
Dim db_cust, strSQLQuery
db_cust = Server.CreateObject("ADODB.Recordset")
strSQLQuery = "UPDATE CUST SET CITY = 'VIRGINIA BEACH', STATE = 'VA' WHERE (LEFT(ZIP_COD, 5) = '23455')
Try
db_cust.open(strSQLQuery, MM_CALPMAIN_STRING, 3, 3)
db_cust = Nothing
Catch exc As Exception
Label1.Text = exc.ToString
db_cust = Nothing
End Try
The database I am using is Pervasive.SQL 8.5. The following output is from the Pervasive.SQL Data Manager. Is there a way to get the code above to produce a similer output? I am mostly looking for "X row(s) were affected."
UPDATE CUST SET CITY = 'VIRGINIA BEACH', STATE = 'VA' WHERE (LEFT(ZIP_COD, 5) = '23455')
SQL statement(script) has executed successfully.
80 row(s) were affected.
------