Changes between Version 29 and Version 30 of Docs/Prog/Manual/ApplicationLibraries/lib825mssql


Ignore:
Timestamp:
10/28/26 07:26:58 (3 days ago)
Author:
Don Wilson
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Docs/Prog/Manual/ApplicationLibraries/lib825mssql

    v29 v30  
    7979
    8080{{{#!c++
     81string sql = "SELECT id,datetm FROM axleTrans ORDER BY id";
     82
    8183// For SQLite or MySQL AppendLimitClause will append " LIMIT offset, count"
    8284// For SQL Server AppendLimitClause will append " OFFSET offset ROWS FETCH NEXT count ROWS ONLY"
    83 appDB->AppendLimitClause(strSQL_, ((m_nCurPage - 1) * m_nItemsPerPage), m_nItemsPerPage);
    84 strSQL_ += ";";
     85appDB->AppendLimitClause(sql, ((m_nCurPage - 1) * m_nItemsPerPage), m_nItemsPerPage);
     86sql += ";";     
    8587}}}