Ok, so I am a new web developer, it's my first IT job, and I am doing ok, but there is a TON that I don't know. Can you call a function from within a connection object? for instance
SET objConn = Server.CreateObject("ADODB.Connection")

    SET objRS   = Server.CreateObject("ADODB.RecordSet")
    objConn.Open connString

    cmdString = function()

    objRS.Open  cmdString, objConn, adOpenStatic, 3, adCmdText
    IF (objRS.EOF = False) THEN


END IF
    objRS.Close


        objConn.Close
        SET objRS   = Nothing
        SET objConn = Nothing

'Just Curious

Member Avatar for LastMitch

SET objConn = Server.CreateObject("ADODB.Connection")

Is this ASP or ASP.net? I don't understand your question nor where you are going with this.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.