how can i return a recordset using SP and VB. I am usig this
i am using a simple select statement'select fieldname from tablename' in a SP in vfp7.0. iam executing this sp thru vb6.0 using
SQL_QTL = "GetSQL()"
Set objCmd = New ADODB.Command
With objCmd
.CommandText = SQL_QTL
.CommandType = adCmdText
.ActiveConnection = cnnadoconn
End With
Set objRs = objCmd.Execute()
it returns .T and .F as values in the fieldss. Can anyone let me know why does it do instead of having actual DB values in the recordset!fieldname
thx
TA
i am using a simple select statement'select fieldname from tablename' in a SP in vfp7.0. iam executing this sp thru vb6.0 using
SQL_QTL = "GetSQL()"
Set objCmd = New ADODB.Command
With objCmd
.CommandText = SQL_QTL
.CommandType = adCmdText
.ActiveConnection = cnnadoconn
End With
Set objRs = objCmd.Execute()
it returns .T and .F as values in the fieldss. Can anyone let me know why does it do instead of having actual DB values in the recordset!fieldname
thx
TA