Welcome Guest, Not a member yet? Register   Sign In
Active Record and mssql_data_seek
#2

[eluser]dmorin[/eluser]
On the result object that you get back after running a query, you can call $result->_data_seek($n) which calls mssql_data_seek($result_id, $n) on the query results. Note that CI intends this to be a private method, but because they don't actually declare it as private, you can call it yourself. Another option is to just call mssql_data_seek and related functions yourself specifying the first param as $result->result_id where $result is the return value of the query.


Messages In This Thread
Active Record and mssql_data_seek - by El Forum - 04-26-2010, 04:01 AM
Active Record and mssql_data_seek - by El Forum - 04-26-2010, 09:48 AM
Active Record and mssql_data_seek - by El Forum - 04-27-2010, 03:52 AM
Active Record and mssql_data_seek - by El Forum - 09-11-2012, 05:52 PM



Theme © iAndrew 2016 - Forum software by © MyBB