Here is a code snippets, please explain terms that are in bold
Public Function ryanMod_getManualRTVHeader(ByVal objConn As ADODB.Connection, ByVal DunsNbr As Long, ByVal DunsSuffix As Long, ByVal transNum As String, Optional ByVal QueryTimeout As Long) As ADODB.Recordset
Dim strSQL As String
Dim RS As ADODB.Recordset
strSQL = "Select * from table1"
Set RS = New ADODB.Recordset
.CursorLocation = adUseClient
.CursorType = adOpenForwardOnly
.ActiveConnection = objConn
.LockType = adLockReadOnly
.Source = strSQL
Set ryanMod_getManualRTVHeader = RS
Set ryanMod_getManualRTVHeader = Nothing
Err.Raise vbObjectError, "Application", Err.Description
This function retrieves the content and displayed in the Asp classic. I want to know which statement is used to display the content.
None of the highlighted terms display anything - they all just set properties or call methods on the RS object
This causes the sql to be run which populates the recordset which is returned to the caller.
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)