MOTOBIT.COM - ASP upload, IIS utility RowCount Property of DBF class

Property | Member of  RSConvert.DBF | Changes | Purchase | Download

Description

Maximum recordset rows that RS Convert copies into a file. Zero means all recordset rows.

Syntax

vRowCount = DBF.RowCount
DBF.RowCount = vRowCount

Returns

Long

Examples

Limit number of output records

  'Open table
  ADORS.Open "Orders", "DSN=ADOSamples"

  'Limit output to 10 redords
  DBF.RowCount = 10

  'Write DBF file to the client
  Response.BinaryWrite DBF.GetFile(ADORS)

Other links for RowCount

Methods of DBF class

GetFile, SaveRS

Properties of DBF class

Compress, CurrencyDecimal, CurrencyWidth, DoubleDecimal, DoubleWidth, IntegerWidth, LongVarCharWidth, RowCount, SingleDecimal, SingleWidth, TempDirectory

RSConvert.DBF

Object for converting DAO or ADO recordset to the DBF file. It enables direct output of DBF files from the ASP page.

RSConvert

      Recordset converter is a library for converting DAO or ADO recordsets to MDB or DBF files. It enables direct binary output of MDB or DBF files from ASP pages with one row of code. The object also supports on-the-fly compression by zip/arj.

© 1996 - 2009 Antonin Foller, Motobit Software | About, Contacts | e-mail: info@pstruh.cz