This is my code
Dim Rs As RecordSet
DIm ps as ODBCPreparedStatement
Dim sql As String
sql = "SELECT NumSocio FROM dbo.Socios WHERE flag is null and NumSocio = ?"
ps = me.Prepare(sql)
ps.BindType(0, ODBCPreparedStatement.ODBC_TYPE_STRING)
ps.Bind(0, NumSocio)
Rs = ps.SQLSelect
if me.Error then
MsgBox me.ErrorMessage
return false
end if
if Rs.EOF = false then
Rs.Close
return true
else
Rs.Close
return false
end if
the problem is ODBCPreparedStatement no compatible with PostgreSQLPreparedStatement.
so how i convert it
thanks